Preview
Shared function

getElementPosition

This function allows you to retrieve the position coordinates of an element. This can be any real world element, including:

Syntax

float getElementPosition ( element theElement )

Returns

Returns three floats indicating the position of the element, x, y and z respectively.

Examples