Hello, I’ve read that Roblox is going to deprecate MouseButton1Click in-favor of Activated event so I started adapting to it, but now that I need to work with MouseButton1Down/Up I want it to use Activated too, so is there an event that I don’t know of? Or does Roblox need to add this?
You could use InputBegan
/ InputEnded
events of the TextButton. It is like UserInputService.InputBegan
/ InputEnded
, check if the input is equal to Enum.UserInputType.MouseButton1
on InputBegan
to replicate MouseButton1Down
, and on InputEnded
to replicate MouseButton1Up
.
But would it be multi-deviced same as Activated is to MouseButton1Click?
That is where you can check for Enum.UserInputType.Touch
as well.
This reminds me. I made a feature request for an Activated
counterpart, Deactivated
.
Ah, ok I’ll try it out but how would I use Touch, isn’t it like a click?
Yep, Enum.UserInputType.Touch
is just a click, I’m looking for mobile holding