IsPlayer
7/14/25Less than 1 minute
GameObject.IsPlayer()
Returns true if this object or any of the ancestors of this object is a ML player.
Returns:
type | Description |
---|---|
boolean | true if this object or any of the ancestors of this object is a ML player. |
Usage
---@type GameObject
local gameobject;
local val0 = gameobject.IsPlayer()