Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

GUI's help?

Asked by
RedCombee 585 Moderation Voter
10 years ago

Is there a method to check if part of an image in an Image Button or Image Label (excluding the background) is touching the boundary of another GUI?

In my game, I have various sprites that I use. The box that the original sprites are all the same size (The background they are placed in is the same size for every sprite), but is there a way to detect the overlap of the image with another GUI, or do I have to create a position for each sprite to be placed on the screen? And are there any specific procedures to go by?

If any further explanation is needed, please let me know.

0
Here is the first tutorial in a 2D game tutorial series. https://www.youtube.com/watch?v=BKGMM2Ns-s4 You can also look up 'GUI Collision' on the wiki. Perci1 4988 — 10y

Answer this question