Fit to screen for UIGridLayout

I am trying to make “squares” shown on a screen, for a teleportation effect, but let’s say I have waaayyy too many Frames:


Let’s say, by exact numbers,
image
Now, I would like to have like 100-500 maximum of these, but how would I do this?

Holy freaking moly… Ummmm, is it possible to use an image label you can make in a photo editing software with lines? Or do you need all of the frames for the effect?

All the frames for an effect sir.

Yes, I know, but, is there a way to do it? ¯\_(ツ)_/¯
(The black lines are just to know where the frames are located)

Um, not particularly, but are you using scale for everything and not offset?

I suck at UIs so, might this answer your question?

I don’t see why you don’t just use an image of a square with an inner border and use the Tile ScaleType. You can adjust TileSize then to achieve your affect.

1 Like

They both seem to be the same in the Code Sample. Mind giving me an example, as I suck at math?

(Sorry for the late response, I got to work on another stuff)

These are properties of ImageLabels and ImageButtons, they tile the image similar to how textures do.

1 Like

Oh. Oh well, that doesn’t work. Since I need the frames to randomly go invisible and back visible for the effect. I don’t think I can do that, so

I still need help