# How do you make a prop device disappear with verse after interaction with it?

**URL:** <https://forums.unrealengine.com/t/how-do-you-make-a-prop-device-disappear-with-verse-after-interaction-with-it/1333639>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [October 15, 2023, 8:33pm UTC](https://forums.unrealengine.com/t/how-do-you-make-a-prop-device-disappear-with-verse-after-interaction-with-it/1333639 "2023-10-15T20:33:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ItzEarthy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/itzearthy/32/764585_2.png) [@ItzEarthy](https://forums.unrealengine.com/u/ItzEarthy)\
**Post date:** [October 15, 2023, 8:33pm UTC](https://forums.unrealengine.com/t/how-do-you-make-a-prop-device-disappear-with-verse-after-interaction-with-it/1333639/1 "2023-10-15T20:33:36Z")

</div>

I have an array of button devises that i want to disappear when interacted with. Im struggling with geting them to disappear.

When theres an interaction it gets to `Print("End")` but doesnt do anything

```auto

using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/SpatialMath }
using { /UnrealEngine.com/Temporary/Diagnostics }

button_container:=class(){
    Device : apple_hide
    OurButton : button_device

    OnAgentInteracted(InAgent:agent):void=
        Device.OnButtonInteracted(OurButton)
}

apple_hide := class(creative_device):
    @editable
    OurButtons:[]button_device=array{}

    OnBegin<override>()<suspends>:void=
        Print("Begun")
        InitalizeSubscriptions()
        Print("Subscribed")

    InitalizeSubscriptions():void=
        Print("Intitilaized subscription")
        for(L_Button:OurButtons):
            L_Button.InteractedWithEvent.Subscribe(button_container{Device:=Self,OurButton:=L_Button}.OnAgentInteracted)

    OnButtonInteracted(InButton:button_device):void=
        Print("interation")
        L_PropTransform:=InButton.GetTransform()
        L_PropHideTransform:= transform{Scale:=L_PropTransform.Scale,Rotation:=L_PropTransform.Rotation,Translation:=vector3{X:= L_PropTransform.Translation.X, Y:= L_PropTransform.Translation.Y, Z:= L_PropTransform.Translation.Z-900000.0}}
        if(InButton.TeleportTo[L_PropHideTransform]){}
        Print("End")

```

---

<div class="post-metadata">

**Author:** ![SeedohFN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/seedohfn/32/720959_2.png) [@SeedohFN](https://forums.unrealengine.com/u/SeedohFN)\
**Post date:** [October 15, 2023, 9:22pm UTC](https://forums.unrealengine.com/t/how-do-you-make-a-prop-device-disappear-with-verse-after-interaction-with-it/1333639/2 "2023-10-15T21:22:40Z")

</div>

You code is correct. You just need to subtract using a number smaller than 900000.0. I tried 900.0 and it worked fine.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [November 14, 2023, 9:23pm UTC](https://forums.unrealengine.com/t/how-do-you-make-a-prop-device-disappear-with-verse-after-interaction-with-it/1333639/3 "2023-11-14T21:23:05Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
