[][src]Function smash::app::lua_bind::PostureModule::pos_x

pub unsafe extern "C" fn pos_x(
    module_accessor: *mut BattleObjectModuleAccessor
) -> f32

Returns stage X position of the object

Arguments

Example

// is on right side of the stage
if PostureModule::pos_x(module_accessor) > 0.0 {
    // ...
}