defold-typescript
Get startedGuidesAPILibraries
GitHub repository
API
  • Globals

    • globals
  • Global types

    • Hash
    • Matrix4
    • Opaque
    • Quaternion
    • Url
    • Vector
    • Vector3
    • Vector4
  • Lua Standard

    • base
    • bit
    • coroutine
    • debug
    • io
    • math
    • os
    • package
    • string
    • table
  • Defold

    • b2d
    • b2d.body
    • buffer
    • camera
    • collectionfactory
    • collectionproxy
    • crash
    • factory
    • font
    • go
    • graphics
    • gui
    • html5
    • http
    • iac
    • iap
    • image
    • json
    • label
    • liveupdate
    • model
    • msg
    • particlefx
    • physics
    • profiler
    • push
    • render
    • resource
    • socket
    • sound
    • sprite
    • sys
    • tilemap
    • timer
    • types
    • vmath
    • webview
    • window
    • zlib
On this page
  • Properties
  • length: number

Vector

A read-only numeric vector accessed by index; length is its component count.

Properties

length: number

PreviousUrlNextVector3

On this page

  • Properties
  • length: number