# How do I call a method on another verse device?

**URL:** <https://forums.unrealengine.com/t/how-do-i-call-a-method-on-another-verse-device/833185>\
**Category:** Programming & Scripting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [March 30, 2023, 1:03am UTC](https://forums.unrealengine.com/t/how-do-i-call-a-method-on-another-verse-device/833185 "2023-03-30T01:03:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iceklue](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iceklue](https://forums.unrealengine.com/u/iceklue)\
**Post date:** [March 30, 2023, 1:03am UTC](https://forums.unrealengine.com/t/how-do-i-call-a-method-on-another-verse-device/833185/1 "2023-03-30T01:03:31Z")

</div>

I have two classes  
device\_a : = class(creative\_device)  
foo():void  
and  
device\_b := class(creative\_device):  
@editable  
aRef: device\_a = device\_a{}

When I try to call aRef.Foo() it says that Foo is an unknown member? Is there any way to do this?

---

<div class="post-metadata">

**Author:** ![Syz\_n](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Syz\_n](https://forums.unrealengine.com/u/Syz_n)\
**Post date:** [March 30, 2023, 2:53am UTC](https://forums.unrealengine.com/t/how-do-i-call-a-method-on-another-verse-device/833185/2 "2023-03-30T02:53:07Z")

</div>

```auto
device_a := class(creative_device):
    foo<public>() : void = {}

```

```auto
device_b := class(creative_device):
    @editable aRef: device_a = device_a{}

    OnBegin<override>()<suspends> : void =
        aRef.foo()

```
