Character Body

self:is_remote

Client

Checks whether the instance is remotely owned

Syntax

local result = self:is_remote()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if the instance is remotely owned, false otherwise

Examples

Check whether a character body is remote
local entity = physics.character.create()

core.engine.print("info", "Remote:", entity:is_remote())

On this page