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

Placement System for mobile fires MouseButton1Up when player turns their screen?

Asked by 3 years ago
Edited 3 years ago

I have a placement system on mobile that uses MouseButton1Up but you know how players need to turn their screens

When they turn their screens it glitches out and it places a block which the player does not want

Is there any way to stop this from Happening or should I just stop using MouseButton1Up for mobile or touch screens

Is there any alternative functions I need to look for instead of mousebutton1up?

IT also affects the jump button also

and the move touch pad the players use to move

My script uses a while true do loop to show where the parts will be placed and in that loop when someone presses anything actually

the block goes there

1 answer

Log in to vote
0
Answered by
Xapelize 2658 Moderation Voter Community Moderator
3 years ago

Use MouseButton1Click instead of MouseButton1Up

Ad

Answer this question