Next: IsInstanceOfObject - AurieFramework/YYToolkit GitHub Wiki

Returns a pointer to the instance representing the GameMaker global namespace.

Syntax

bool IsInstanceOfObject(
    [in] const RValue&          Instance,
    [in]       std::string_view ObjectName
);

Parameters

Instance

The instance whose parent object is to be checked.

ObjectName

The name of the object to be case-insensitively compared to the instance's parent object's name.

Return Value

Value Description
true Instance is an instance of ObjectName.
false Instance is not an instance of ObjectName.

Requirements

Criterium Value
Minimum YYTK Version 4.0.0
Context Any