Summary
The following snippet removes the ability to place builds on mobile.
Device Tested : iPhone 17 Pro Max
CallbackWhenFirePressed<public>(Player:player, Callback:type{func(:player):void})<suspends>:void=
if(PlayerInput := GetPlayerInput[Player]):
PrimaryInput := PlayerInput.GetInputEvents(WeaponPrimary)
ActivatedEvent : listenable(tuple(player, logic)) = PrimaryInput.TriggerActivationEvent
loop:
ActivationResult := ActivatedEvent.Await()(1)
if(ActivationResult?):
Callback(Player)
When awaiting this event, the on screen button to place builds goes away.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Stability
Steps to Reproduce
-Write a callback
-Paste function in a creative device
-OnBegin spawn the method with the callback
-Launch Session with the 17 Pro as the selected in mobile preview ( or connect to platform with your mobile device )
Expected Result
For expected on screen buttons to show up
Observed Result
Expected on screen buttons missing
Platform(s)
Mobile ( Only tested iOS )