I maked a game where i need custome mobile button for interactive things ! Or i dont have idea how i can make ! I want use that button what is i use in pc version ! What i need change :

local Context = game:GetService("ContextActionService")
local Int = workspace.Hozaerve

function onButtonPress ()
	Int.Value = true
end

local mobilebutton = Context:BindAction("Interactive",onButtonPress,true,"I")
Context:SetPosition("Interactive",UDim2.new(0.75, 0,0.395, 0))

4 comments

0

the : local Int = workspace.Hozaerve is just BoolValue . This is button script the another interactive things is another script

0

Actually, ImageButton and TextButton have events for mobile user input. For example, TouchTap https://developer.roblox.com/api-reference/event/GuiObject/TouchTap

0

So you don't need to make custom button for mobile user. Maybe that is what you need if I get it right...

0

YEPP !!!! THX DUDE !!!!