# Class Hierarchy

**URL:** <https://forums.unrealengine.com/t/class-hierarchy/1686206>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [February 13, 2024, 3:12pm UTC](https://forums.unrealengine.com/t/class-hierarchy/1686206 "2024-02-13T15:12:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mourwbwrws](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mourwbwrws](https://forums.unrealengine.com/u/Mourwbwrws)\
**Post date:** [February 13, 2024, 3:12pm UTC](https://forums.unrealengine.com/t/class-hierarchy/1686206/1 "2024-02-13T15:12:17Z")

</div>

I wrote a simple script using tags to collect items I wanted to program behavior for. Initially, I tagged some simple platforms I found from the Fortnite content and tagged them. The script is as follows :

```auto
using { /Fortnite.com/Devices }
using { /Fortnite.com/Game }
using { /Verse.org/Native }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /Verse.org/Simulation/Tags }
using { /Verse.org/Simulation }
    
platform_tag := class(tag){}
    
debug_log := class(log_channel){}
    
tag_test := class<concrete>(creative_device):
    Logger : log = log{Channel := debug_log}
    
    var Plats : []positional = array{}
    
    OnBegin<override>()<suspends> : void =
        SetupPuzzleLights()
    
    SetupPuzzleLights() : void =
        Print("setting up tags")

        TaggedActors := GetCreativeObjectsWithTag(platform_tag{})
        
        set Plats = for:
            ActorIndex -> TaggedActor : TaggedActors
            PlatDevice := positional[TaggedActor]
        do:
            Logger.Print("Adding Plat")
            
            PlatDevice
        
        # Did it work ?
        Print("{Plats.Length}")

```

When I tested, no items were collected. After a while, I tried tagging another object (an explosive device), and used the same tag for them. These objects were collected.

I’m finding it difficult to know what classes objects belong to, because I see no reason why the platforms wouldn’t inherit the positional interface (they have a Transform).
