accessX MethodStatic

Look for (in order) an x coordinate present as:

  • arg.x
  • arg[0]

accessX(arg: any, defaultValue?: number): undefined | number

Parameter Type Description
arg any  
defaultValue number  

Returns - undefined | number

Defined in

Last Updated: 12 June, 2024