I have this handcuff system that shoots a ray based on mouse position then I deal with the cuff on server, but how do I know where is the tap position, given that I use tool.Activated
1 Like
local script
local mouse = localplayer:GetMouse()
local position = mouse.Hit.Position
this handles tap position too?
2 Likes
tap as in mobile users who uses this
I’m pretty sure it does
I’ve looked at multiple other threads and they seem to be supporting that
Additional assurance, tested it on mobile today, it works (contrary to what I’ve believed for way too long lol)
m1 up doesn’t work is there another alternative for it
you could try using UserInputService and UserInputService.InputEnded, then see if the input is a touch with UserInputType
Solved it thanks. btw is there a way to check if the user is using apple pen and if so only use apple pen m1 down?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.