GetOrigin (script event)

Game class

This event operates on an instance of the game class type {{{gameclass}}}

Description

Returns the current position of this entity (relative to bind parent if any).

Usage

vector getOrigin()

Parameters

This script event does not accept parameters.

Examples

 
$my_entity.getOrigin();

Notes

This script event returns the value of this entity’s origin key/value pair as a vector.