So I am looking to create a Gui selection box similar to Roblox Studio’s so that players can select multiple units in-game. I tried searching on the Devforum but I was not able to find what I was looking for. If you can provide an explanation for a way this can be done or know of a post about this it would be greatly appreciated.
1 Like
Can you explain on what you mean by “GUI Selection Box”?
He must mean the part selection box, but for UIs.
1 Like
Have you tried the object named “SelectionBox”? That may be what you are looking for.
1 Like
Well you could parent a frame with a totally transparent background to the Gui that you want to add the Selection Box to. Then change the frame’s BorderColor and BorderSizePixel to whatever you want.
If you are talking about sleecting parts inside a game by dragging your mouse, you might wanna see WorldToScreenPoint