Forum Discussion

KevinJardine's avatar
KevinJardine
Start Partner
11 months ago
Solved

Sublevel name?

I hope that this is an easy question. I want to get the name of the current sublevel. When I run this.world.name.get() in a sublevel script, I just get the name of the parent world.  So how do I ge...
  • KevinJardine's avatar
    11 months ago

    I think I may have figured out a hack. The scripts are all attached to triggers and since the sublevels all have fixed positions, I can use the trigger positions to determine what sublevel they are running in. Works for me, but something like this.sublevel.name.get() would be easier.