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

What would I use in order to click buttons through parts?

Asked by 6 years ago

:I made a surface gui on a wall and put an invisible part in front of the surface gui, and now I can't click the buttons on the surface gui. I got rid of the invisible part and I could click the buttons again so I am certain that this is the problem. I have the invisible part there because several movement scripts I have created rely on it, so how would I make it that I can click the surface gui's buttons through the invisible part but not any others?

1 answer

Log in to vote
0
Answered by 6 years ago

Well, you could do couple things:

  • You could set the SurfaceGui value 'AlwaysOnTop' to true, but this could make it look weird
  • You could reduce the height of the invisible part so that it is no longer blocking the SurfaceGui
  • This could be difficult, depending on your skill level, but you could adjust the movement scripts so that they activate when the player's position is equivalent to the part's position, rather than having them activated when touched. This would allow you to delete the invisible parts entirely.

Please respond with any questions.

0
Isn't the 'AlwyasOnTop' option for BillboardGuis??? I never knew that it's available at SurfaceGuis too. Nep_Ryker 131 — 6y
0
@Xrp200 I believe that it is a property of both. If not, just scrap that option. ZappleOfficial 35 — 6y
0
I decided to just scale down the part so that it was only 1 block high, still works like it should. Thanks guys :) EnderGamer358 79 — 6y
Ad

Answer this question