using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
prop_array_device := class(creative_device):
@editable
Props:[]creative_prop = array{}
@editable
ShowButtonDevice:button_device = button_device{}
@editable
HideButtonDevice:button_device = button_device{}
OnBegin<override>()<suspends>:void=
ShowButtonDevice.InteractedWithEvent.Subscribe(OnInteractShow)
HideButtonDevice.InteractedWithEvent.Subscribe(OnInteractHide)
OnInteractShow(Agent:agent):void=
for(Prop : Props):
Prop.Show()
OnInteractHide(Agent:agent):void=
for(Prop : Props):
Prop.Hide()