Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

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

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.

1 comment

0

Just use the User Input service to detect the clicks then disconnect the function when you have finished.

2 answers

✓ Accepted answer

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

3 comments

0

What you mean by Sorta?

0

If I made a scrip right now in a frame and said script.Parent.MouseButton1Down:connect(function() would it fire?

0

No.

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

This discussion is preserved as it was. New answers, comments, and votes are closed.