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

Can you do a MouseButton1Down function on an invisible screen? Click for more!

Asked by 7 years ago
Edited by OldPalHappy 7 years ago

I have a few questions about MouseButton1Down. I'm basically trying to make a click anywhere on the screen to continue thing.

Here's the list;

Can you do MouseButton1Down on a frame?

Can you use MouseButton1Down on a TextLabel?

Would MouseButton1Down Fire if I clicked an invisible button? Visible = false

Would MouseButton1Down Fire if I clicked a transparent button? Transparency = 0.9,1etc.

Can I use MouseButton1Down on the screen it self?


Please answer these questions. Thanks for any answer.

0
Just use the User Input service to detect the clicks then disconnect the function when you have finished. User#5423 17 — 7y

2 answers

Log in to vote
0
Answered by 7 years ago
Edited 7 years ago

Do what Kingdom suggested. Use UserInputService to detect events on the client.

0
What you mean by Sorta? BlackOrange3343 2676 — 7y
0
If I made a scrip right now in a frame and said script.Parent.MouseButton1Down:connect(function() would it fire? BlackOrange3343 2676 — 7y
0
No. OldPalHappy 1477 — 7y
Ad
Log in to vote
-1
Answered by 7 years ago

1: No 2: No 3: No 4: Yes 5: Not that I know of so no.

Answer this question