Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

IsName(name: string): bool;
bool IsName(string name);
def IsName(name as string) as bool

Description

Does name match the name of the active state in the statemachine?

The name should be in the form Layer.Name, for example "Base.Idle".