You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Physics Library > y

19.2.30 y

y = physics.Vect:y()

Parameter

Type

Description

self

in physics.Vect

The input vector

y

out number

The value of the ycomponent of the vector

Returns the value of the y component of the input vector.

Introduced in platform.apiLevel = '2.0'