Reference manual

From GiderosMobile
Revision as of 13:32, 23 August 2018 by Hgy29 (talk | contribs)

(global)
assert
collectgarbage
dofile
error
getfenv
getmetatable
ipairs
loadfile
loadstring
next
pairs
pcall
print
rawequal
rawget
rawset
require
setfenv
setmetatable
tonumber
tostring
type
unpack
xpcall
_G
_VERSION
Accelerometer
Accelerometer.isAvailable
Accelerometer.new
Accelerometer:getAcceleration
Accelerometer:start
Accelerometer:stop
Ads
Ads.new
Ads:enableTesting
Ads:get
Ads:getHeight
Ads:getPosition
Ads:getWidth
Ads:getX
Ads:getY
Ads:hideAd
Ads:set
Ads:setAlignment
Ads:setKey
Ads:setPosition
Ads:setX
Ads:setY
Ads:showAd
Event.AD_ACTION_BEGIN
Event.AD_ACTION_END
Event.AD_DISMISSED
Event.AD_ERROR
Event.AD_FAILED
Event.AD_RECEIVED
AlertDialog
AlertDialog.new
AlertDialog:hide
AlertDialog:show
Event.COMPLETE
Application
Application:canOpenUrl
Application:configureFrustum
Application:exit
Application:getApiVersion
Application:getAppId
Application:getBackgroundColor
Application:getContentHeight
Application:getContentWidth
Application:getDeviceHeight
Application:getDeviceInfo
Application:getDeviceOrientation
Application:getDeviceSafeArea
Application:getDeviceWidth
Application:getFps
Application:getLanguage
Application:getLocale
Application:getLogicalBounds
Application:getLogicalHeight
Application:getLogicalScaleX
Application:getLogicalScaleY
Application:getLogicalTranslateX
Application:getLogicalTranslateY
Application:getLogicalWidth
Application:getOrientation
Application:getScaleMode
Application:getScreenDensity
Application:getTextureMemoryUsage
Application:isPlayerMode
Application:openUrl
Application:setBackgroundColor
Application:setFps
Application:setFullScreen
Application:setKeepAwake
Application:setKeyboardVisibility
Application:setLogicalDimensions
Application:setOrientation
Application:setScaleMode
Application:setWindowSize
Application:vibrate
Application.LANDSCAPE_LEFT
Application.LANDSCAPE_RIGHT
Application.PORTRAIT
Application.PORTRAIT_UPSIDE_DOWN
b2.Body
b2.Body:applyAngularImpulse
b2.Body:applyForce
b2.Body:applyLinearImpulse
b2.Body:applyTorque
b2.Body:createFixture
b2.Body:destroyFixture
b2.Body:getAngle
b2.Body:getAngularDamping
b2.Body:getAngularVelocity
b2.Body:getGravityScale
b2.Body:getInertia
b2.Body:getLinearDamping
b2.Body:getLinearVelocity
b2.Body:getLocalCenter
b2.Body:getLocalPoint
b2.Body:getLocalVector
b2.Body:getMass
b2.Body:getPosition
b2.Body:getWorldCenter
b2.Body:getWorldPoint
b2.Body:getWorldVector
b2.Body:isActive
b2.Body:isAwake
b2.Body:isBullet
b2.Body:isFixedRotation
b2.Body:isSleepingAllowed
b2.Body:setActive
b2.Body:setAngle
b2.Body:setAngularDamping
b2.Body:setAngularVelocity
b2.Body:setAwake
b2.Body:setBullet
b2.Body:setFixedRotation
b2.Body:setGravityScale
b2.Body:setLinearDamping
b2.Body:setLinearVelocity
b2.Body:setPosition
b2.Body:setSleepingAllowed
b2.ChainShape
b2.ChainShape.new
b2.ChainShape:createChain
b2.ChainShape:createLoop
b2.CircleShape
b2.CircleShape.new
b2.CircleShape:set
b2.Contact
b2.Contact:getChildIndexA
b2.Contact:getChildIndexB
b2.Contact:getFixtureA
b2.Contact:getFixtureB
b2.Contact:getFriction
b2.Contact:getManifold
b2.Contact:getRestitution
b2.Contact:getWorldManifold
b2.Contact:isTouching
b2.Contact:resetFriction
b2.Contact:resetRestitution
b2.Contact:setEnabled
b2.Contact:setFriction
b2.Contact:setRestitution
b2.DebugDraw
b2.DebugDraw.new
b2.DebugDraw:appendFlags
b2.DebugDraw:clearFlags
b2.DebugDraw:getFlags
b2.DebugDraw:setFlags
b2.DebugDraw.AABB_BIT
b2.DebugDraw.CENTER_OF_MASS_BIT
b2.DebugDraw.JOINT_BIT
b2.DebugDraw.PAIR_BIT
b2.DebugDraw.SHAPE_BIT
b2.DistanceJoint
b2.DistanceJoint:getDampingRatio
b2.DistanceJoint:getFrequency
b2.DistanceJoint:getLength
b2.DistanceJoint:setDampingRatio
b2.DistanceJoint:setFrequency
b2.DistanceJoint:setLength
b2.EdgeShape
b2.EdgeShape.new
b2.EdgeShape:set
b2.Fixture
b2.Fixture:getBody
b2.Fixture:getFilterData
b2.Fixture:isSensor
b2.Fixture:setFilterData
b2.Fixture:setSensor
b2.FrictionJoint
b2.FrictionJoint:getMaxForce
b2.FrictionJoint:getMaxTorque
b2.FrictionJoint:setMaxForce
b2.FrictionJoint:setMaxTorque
b2.GearJoint
b2.GearJoint:getRatio
b2.GearJoint:setRatio
b2.Joint
b2.Joint:getAnchorA
b2.Joint:getAnchorB
b2.Joint:getBodyA
b2.Joint:getBodyB
b2.Joint:getReactionForce
b2.Joint:getReactionTorque
b2.Joint:getType
b2.Joint:isActive
b2.Manifold
localNormal
localPoint
points
b2.MouseJoint
b2.MouseJoint:getDampingRatio
b2.MouseJoint:getFrequency
b2.MouseJoint:getMaxForce
b2.MouseJoint:getTarget
b2.MouseJoint:setDampingRatio
b2.MouseJoint:setFrequency
b2.MouseJoint:setMaxForce
b2.MouseJoint:setTarget
b2.ParticleSystem
b2.ParticleSystem:containsParticle
b2.ParticleSystem:createParticle
b2.ParticleSystem:createParticleGroup
b2.ParticleSystem:destroyParticle
b2.ParticleSystem:destroyParticles
b2.ParticleSystem:getParticleCount
b2.ParticleSystem:getParticleGroupList
b2.ParticleSystem:setTexture
b2.ParticleSystem.FLAG_COLOR_MIXING
b2.ParticleSystem.FLAG_ELASTIC
b2.ParticleSystem.FLAG_POWDER
b2.ParticleSystem.FLAG_SPRING
b2.ParticleSystem.FLAG_TENSILE
b2.ParticleSystem.FLAG_VISCOUS
b2.ParticleSystem.FLAG_WALL
b2.ParticleSystem.FLAG_WATER
b2.ParticleSystem.FLAG_ZOMBIE
b2.PolygonShape
b2.PolygonShape.new
b2.PolygonShape:set
b2.PolygonShape:setAsBox
b2.PrismaticJoint
b2.PrismaticJoint:enableLimit
b2.PrismaticJoint:enableMotor
b2.PrismaticJoint:getJointSpeed
b2.PrismaticJoint:getJointTranslation
b2.PrismaticJoint:getLimits
b2.PrismaticJoint:getMotorSpeed
b2.PrismaticJoint:isLimitEnabled
b2.PrismaticJoint:isMotorEnabled
b2.PrismaticJoint:setLimits
b2.PrismaticJoint:setMaxMotorForce
b2.PrismaticJoint:setMotorSpeed
b2.RevoluteJoint:getMotorForce
b2.PulleyJoint
b2.PulleyJoint:getGroundAnchorA
b2.PulleyJoint:getGroundAnchorB
b2.PulleyJoint:getLengthA
b2.PulleyJoint:getLengthB
b2.PulleyJoint:getRatio
b2.RevoluteJoint
b2.RevoluteJoint:enableLimit
b2.RevoluteJoint:enableMotor
b2.RevoluteJoint:getJointAngle
b2.RevoluteJoint:getJointSpeed
b2.RevoluteJoint:getLimits
b2.RevoluteJoint:getMotorSpeed
b2.RevoluteJoint:getMotorTorque
b2.RevoluteJoint:isLimitEnabled
b2.RevoluteJoint:isMotorEnabled
b2.RevoluteJoint:setLimits
b2.RevoluteJoint:setMaxMotorTorque
b2.RevoluteJoint:setMotorSpeed
b2.RopeJoint
b2.RopeJoint:getMaxLength
b2.RopeJoint:setMaxLength
b2.Shape
b2.WeldJoint
b2.WeldJoint:getDampingRatio
b2.WeldJoint:getFrequency
b2.WeldJoint:setDampingRatio
b2.WeldJoint:setFrequency
b2.WheelJoint
b2.WheelJoint:enableMotor
b2.WheelJoint:getJointSpeed
b2.WheelJoint:getJointTranslation
b2.WheelJoint:getMaxMotorTorque
b2.WheelJoint:getMotorSpeed
b2.WheelJoint:getSpringDampingRatio
b2.WheelJoint:getSpringFrequencyHz
b2.WheelJoint:isMotorEnabled
b2.WheelJoint:setMaxMotorTorque
b2.WheelJoint:setMotorSpeed
b2.WheelJoint:setSpringDampingRatio
b2.WheelJoint:setSpringFrequencyHz
b2.World
b2.World.new
b2.World:clearForces
b2.World:createBody
b2.World:createJoint
b2.World:createParticleSystem
b2.World:destroyBody
b2.World:destroyJoint
b2.World:getGravity
b2.World:queryAABB
b2.World:rayCast
b2.World:setDebugDraw
b2.World:setGravity
b2.World:step
Event.BEGIN_CONTACT
Event.BEGIN_CONTACT_PARTICLE
Event.END_CONTACT
Event.POST_SOLVE
Event.PRE_SOLVE
b2.WorldManifold
normal
b2
b2.createDistanceJointDef
b2.createFrictionJointDef
b2.createGearJointDef
b2.createMouseJointDef
b2.createPrismaticJointDef
b2.createPulleyJointDef
b2.createRevoluteJointDef
b2.createRopeJointDef
b2.createWeldJointDef
b2.createWheelJointDef
b2.getScale
b2.setScale
b2.DISTANCE_JOINT
b2.DYNAMIC_BODY
b2.FRICTION_JOINT
b2.GEAR_JOINT
b2.KINEMATIC_BODY
b2.MOUSE_JOINT
b2.PRISMATIC_JOINT
b2.PULLEY_JOINT
b2.REVOLUTE_JOINT
b2.ROPE_JOINT
b2.STATIC_BODY
b2.WELD_JOINT
b2.WHEEL_JOINT
Binary Numbers
bit
bit.arshift
bit.band
bit.bnot
bit.bor
bit.bswap
bit.bxor
bit.lshift
bit.rol
bit.ror
bit.rshift
bit.tobit
bit.tohex
Bitmap
Bitmap.new
Bitmap:getAnchorPoint
Bitmap:setAnchorPoint
Bitmap:setTexture
Bitmap:setTextureRegion
Bitwise Operators
bump
camera
camera.availableDevices
camera.start
camera.stop
Controller
Controller:getControllerName
Controller:getPlayerCount
Controller:getPlayers
Controller:isAnyAvailable
Controller:vibrate
Event.CONNECTED
Event.DISCONNECTED
Event.KEY_DOWN
Event.KEY_UP
Event.LEFT_JOYSTICK
Event.LEFT_TRIGGER
Event.RIGHT_JOYSTICK
Event.RIGHT_TRIGGER
Core
Core.asyncCall
Core.class
Core.frameStatistics
Core.profilerReport
Core.profilerReset
Core.profilerStart
Core.profilerStop
Core.random
Core.randomSeed
Core.yield
coroutine
coroutine.create
coroutine.resume
coroutine.status
coroutine.wrap
coroutine.yield
Cryptography
Cryptography.aesDecrypt
Cryptography.aesEncrypt
Cryptography.md5
debug
debug.debug
debug.gethook
debug.getinfo
debug.getlocal
debug.getupvalue
debug.sethook
debug.setlocal
debug.settypemt
debug.setupvalue
debug.traceback
Better and easier syntax for arrays
Event
Event.new
Event:getTarget
Event:getType
Event:stopPropagation
EventDispatcher
EventDispatcher.new
EventDispatcher:addEventListener
EventDispatcher:dispatchEvent
EventDispatcher:hasEventListener
EventDispatcher:removeAllListeners
EventDispatcher:removeEventListener
Event.APPLICATION_BACKGROUND
Event.APPLICATION_EXIT
Event.APPLICATION_FOREGROUND
Event.APPLICATION_RESIZE
Event.APPLICATION_RESUME
Event.APPLICATION_START
Event.APPLICATION_SUSPEND
Event.MEMORY_WARNING
Event.OPEN_URL
Facebook
Facebook:authorize
Facebook:dialog
Facebook:extendAccessToken
Facebook:extendAccessTokenIfNeeded
Facebook:getAccessToken
Facebook:getExpirationDate
Facebook:graphRequest
Facebook:isSessionValid
Facebook:logout
Facebook:setAccessToken
Facebook:setAppId
Facebook:setExpirationDate
Facebook:shouldExtendAccessToken
Event.DIALOG_CANCEL
Event.DIALOG_COMPLETE
Event.DIALOG_ERROR
Event.LOGIN_CANCEL
Event.LOGIN_COMPLETE
Event.LOGIN_ERROR
Event.LOGOUT_COMPLETE
Event.REQUEST_COMPLETE
Event.REQUEST_ERROR
Context
FBInstant.context.chooseAsync
FBInstant.context.createAsync
FBInstant.context.getID
FBInstant.context.getPlayersAsync
FBInstant.context.getType
FBInstant.context.isSizeBetween
FBInstant.context.switchAsync
* Initialisation and Core
FBInstant.canCreateShortcutAsync
FBInstant.checkCanPlayerMatchAsync
FBInstant.createShortcutAsync
FBInstant.getEntryPointAsync
FBInstant.getEntryPointData
FBInstant.getInterstitialAdAsync
FBInstant.getLeaderboardAsync
FBInstant.getLocale
FBInstant.getPlatform
FBInstant.getRewardedVideoAsync
FBInstant.getSDKVersion
FBInstant.getSupportedAPIs
FBInstant.logEvent
FBInstant.matchPlayerAsync
FBInstant.onPause
FBInstant.quit
FBInstant.setLoadingProgress
FBInstant.setSessionData
FBInstant.shareAsync
FBInstant.startGameAsync
FBInstant.switchGameAsync
FBInstant.updateAsync
Payments
FBInstant.payments.consumePurchaseAsync
FBInstant.payments.getCatalogAsync
FBInstant.payments.getPurchasesAsync
FBInstant.payments.onReady
FBInstant.payments.purchaseAsync
Player
FBInstant.player.canSubscribeBotAsync
FBInstant.player.flushDataAsync
FBInstant.player.getConnectedPlayersAsync
FBInstant.player.getDataAsync
FBInstant.player.getID
FBInstant.player.getName
FBInstant.player.getPhoto
FBInstant.player.getSignedPlayerInfoAsync
FBInstant.player.getStatsAsync
FBInstant.player.incrementStatsAsync
FBInstant.player.setDataAsync
FBInstant.player.setStatsAsync
FBInstant.player.subscribeBotAsync
file
File:Close
File:Flush
File:Lines
File:Read
File:Seek
File:Write
flurry
flurry.endTimedEvent
flurry.isAvailable
flurry.logEvent
flurry.startSession
Font
Font.getDefault
Font.new
FontBase
FontBase:getAdvanceX
FontBase:getAscender
FontBase:getBounds
FontBase:getCharIndexAtOffset
FontBase:getLineHeight
FontBase:layoutText
FontBase.TLF_BOTTOM
FontBase.TLF_BREAKWORDS
FontBase.TLF_CENTER
FontBase.TLF_JUSTIFIED
FontBase.TLF_LEFT
FontBase.TLF_NOWRAP
FontBase.TLF_REF_BASELINE
FontBase.TLF_REF_BOTTOM
FontBase.TLF_REF_MIDDLE
FontBase.TLF_REF_TOP
FontBase.TLF_RIGHT
FontBase.TLF_TOP
FontBase.TLF_VCENTER
Gaming
Gaming.new
Gaming:autoMatch
Gaming:deleteState
Gaming:getAllPlayers
Gaming:getPlayerId
Gaming:getPlayerInfo
Gaming:getPlayerName
Gaming:getPlayerPicture
Gaming:getPlayerScore
Gaming:incrementAchievement
Gaming:invitePlayers
Gaming:isLoggedIn
Gaming:joinRoom
Gaming:loadAchievements
Gaming:loadPlayerCenteredScores
Gaming:loadScores
Gaming:loadState
Gaming:login
Gaming:logout
Gaming:reportAchievement
Gaming:reportScore
Gaming:resolveState
Gaming:revealAchievement
Gaming:sendTo
Gaming:sendToAll
Gaming:showAchievements
Gaming:showInvitations
Gaming:showLeaderboard
Gaming:showWaitingRoom
Gaming:updateState
Event.CONNECTED_TO_ROOM
Event.DATA_RECEIVED
Event.DISCONNECTED_FROM_ROOM
Event.GAME_STARTED
Event.INVITATION_RECEIVED
Event.JOINED_ROOM
Event.LEFT_ROOM
Event.LOAD_ACHIEVEMENTS_COMPLETE
Event.LOAD_ACHIEVEMENTS_ERROR
Event.LOAD_SCORES_COMPLETE
Event.LOAD_SCORES_ERROR
Event.PEER_CONNECTED
Event.PEER_DECLINED
Event.PEER_DISCONNECTED
Event.PEER_INVITED
Event.PEER_JOINED
Event.PEER_LEFT
Event.PLAYER_INFORMATION_COMPLETE
Event.PLAYER_INFORMATION_ERROR
Event.PLAYER_SCORE_COMPLETE
Event.PLAYER_SCORE_ERROR
Event.REPORT_ACHIEVEMENT_COMPLETE
Event.REPORT_ACHIEVEMENT_ERROR
Event.REPORT_SCORE_COMPLETE
Event.REPORT_SCORE_ERROR
Event.ROOM_AUTO_MATCHING
Event.ROOM_CONNECTED
Event.ROOM_CONNECTING
Event.ROOM_CREATED
Event.STATE_CONFLICT
Event.STATE_DELETED
Event.STATE_ERROR
Event.STATE_LOADED
Gaming.ALL_PLAYERS
Gaming.ALL_TIME
Gaming.FRIENDS
Gaming.HIDDEN
Gaming.REVEALED
Gaming.TODAY
Gaming.UNLOCKED
Gaming.WEEK
Geolocation
Geolocation.getAccuracy
Geolocation.getThreshold
Geolocation.isAvailable
Geolocation.isHeadingAvailable
Geolocation.new
Geolocation.setAccuracy
Geolocation.setThreshold
Geolocation:start
Geolocation:startUpdatingHeading
Geolocation:startUpdatingLocation
Geolocation:stop
Geolocation:stopUpdatingHeading
Geolocation:stopUpdatingLocation
Event.ERROR
Event.HEADING_UPDATE
Event.LOCATION_UPDATE
GoogleBilling
GoogleBilling:checkBillingSupported
GoogleBilling:confirmNotification
GoogleBilling:requestPurchase
GoogleBilling:restoreTransactions
GoogleBilling:setApiVersion
GoogleBilling:setPublicKey
Event.CHECK_BILLING_SUPPORTED_COMPLETE
Event.CONFIRM_NOTIFICATION_COMPLETE
Event.PURCHASE_STATE_CHANGE
Event.REQUEST_PURCHASE_COMPLETE
Event.RESTORE_TRANSACTIONS_COMPLETE
GoogleBilling.BILLING_UNAVAILABLE
GoogleBilling.CANCELED
GoogleBilling.DEVELOPER_ERROR
GoogleBilling.ERROR
GoogleBilling.EXPIRED
GoogleBilling.INAPP
GoogleBilling.ITEM_UNAVAILABLE
GoogleBilling.OK
GoogleBilling.PURCHASED
GoogleBilling.REFUNDED
GoogleBilling.SERVICE_UNAVAILABLE
GoogleBilling.SUBS
GoogleBilling.USER_CANCELED
Gyroscope
Gyroscope.isAvailable
Gyroscope.new
Gyroscope:getRotationRate
Gyroscope:start
Gyroscope:stop
iad.Banner
iad.Banner.new
iad.Banner:hide
iad.Banner:isBannerLoaded
iad.Banner:setAlignment
iad.Banner:show
Event.BANNER_ACTION_BEGIN
Event.BANNER_ACTION_FINISHED
Event.BANNER_AD_FAILED
Event.BANNER_AD_LOADED
iad.Banner.BOTTOM
iad.Banner.LANDSCAPE
iad.Banner.PORTRAIT
iad.Banner.TOP
iad
iad.isAvailable
int64
int64.new
Integer Divide Operator
io
io.close
io.flush
io.input
io.lines
io.open
io.output
io.read
io.tmpfile
io.type
io.write
JS
JS.eval
json
json.decode
json.encode
KeyCode
KeyCode.A
KeyCode.ALT
KeyCode.B
KeyCode.BACK
KeyCode.BACKSPACE
KeyCode.C
KeyCode.CENTER
KeyCode.CTRL
KeyCode.D
KeyCode.DELETE
KeyCode.DOWN
KeyCode.E
KeyCode.END
KeyCode.ENTER
KeyCode.ESC
KeyCode.F
KeyCode.G
KeyCode.H
KeyCode.HOME
KeyCode.I
KeyCode.INSERT
KeyCode.J
KeyCode.K
KeyCode.L
KeyCode.L1
KeyCode.LEFT
KeyCode.M
KeyCode.MENU
KeyCode.MODIFIER_ALT
KeyCode.MODIFIER_CTRL
KeyCode.MODIFIER_META
KeyCode.MODIFIER_NONE
KeyCode.MODIFIER_SHIFT
KeyCode.MOUSE_LEFT
KeyCode.MOUSE_MIDDLE
KeyCode.MOUSE_NONE
KeyCode.MOUSE_RIGHT
KeyCode.N
KeyCode.NUM_0
KeyCode.NUM_1
KeyCode.NUM_2
KeyCode.NUM_3
KeyCode.NUM_4
KeyCode.NUM_5
KeyCode.NUM_6
KeyCode.NUM_7
KeyCode.NUM_8
KeyCode.NUM_9
KeyCode.O
KeyCode.P
KeyCode.PAGEDOWN
KeyCode.PAGEUP
KeyCode.Q
KeyCode.R
KeyCode.R1
KeyCode.RIGHT
KeyCode.S
KeyCode.SEARCH
KeyCode.SELECT
KeyCode.SHIFT
KeyCode.SPACE
KeyCode.START
KeyCode.T
KeyCode.TAB
KeyCode.U
KeyCode.UP
KeyCode.V
KeyCode.W
KeyCode.X
KeyCode.Y
KeyCode.Z
Larger and Smaller Operators
lfs
lpeg
Macro Constants
Macro Functions
math
math.abs
math.acos
math.asin
math.atan
math.atan2
math.ceil
math.cos
math.deg
math.exp
math.floor
math.fmod
math.frexp
math.ldexp
math.log
math.log10
math.max
math.min
math.pow
math.rad
math.random
math.randomseed
math.sin
math.sqrt
math.tan
huge
pi
Matrix
Matrix.new
[[1]]
[[2]]
[[3]]
[[4]]
[[5]]
[[6]]
[[7]]
[[8]]
[[9]]
[[10]]
[[11]]
[[12]]
[[13]]
[[14]]
[[15]]
[[16]]
[[17]]
[[18]]
[[19]]
[[20]]
[[21]]
[[22]]
[[23]]
[[24]]
[[25]]
[[26]]
[[27]]
[[28]]
[[29]]
[[30]]
[[31]]
[[32]]
[[33]]
[[34]]
[[35]]
[[36]]
[[37]]
[[38]]
[[39]]
[[40]]
[[41]]
[[42]]
[[43]]
[[44]]
[[45]]
[[46]]
[[47]]
[[48]]
[[49]]
[[50]]
Mesh
Mesh.new
Mesh:clearColorArray
Mesh:clearIndexArray
Mesh:clearTexture
Mesh:clearTextureCoordinateArray
Mesh:clearVertexArray
Mesh:getColor
Mesh:getColorArraySize
Mesh:getIndex
Mesh:getIndexArraySize
Mesh:getTextureCoordinate
Mesh:getTextureCoordinateArraySize
Mesh:getVertex
Mesh:getVertexArraySize
Mesh:resizeColorArray
Mesh:resizeIndexArray
Mesh:resizeTextureCoordinateArray
Mesh:resizeVertexArray
Mesh:setColor
Mesh:setColorArray
Mesh:setColors
Mesh:setGenericArray
Mesh:setIndex
Mesh:setIndexArray
Mesh:setIndices
Mesh:setTexture
Mesh:setTextureCoordinate
Mesh:setTextureCoordinateArray
Mesh:setTextureCoordinates
Mesh:setVertex
Mesh:setVertexArray
Mesh:setVertices
Microphone
Microphone.new
Microphone:setOutputFile
Microphone:start
Microphone:stop
Event.DATA_AVAILABLE
MovieClip
MovieClip.new
MovieClip:clearAction
MovieClip:getFrame
MovieClip:gotoAndPlay
MovieClip:gotoAndStop
MovieClip:play
MovieClip:setGotoAction
MovieClip:setReverseAction
MovieClip:setStopAction
MovieClip:stop
Mutation Operators
Notification
Notification.new
Notification:cancel
Notification:dispatchAfter
Notification:dispatchNow
Notification:dispatchOn
Notification:getId
Notification:getMessage
Notification:getNumber
Notification:getSound
Notification:getTitle
Notification:setNumber
Notification:setSound
Notification:setTitle
Notification.DEFAULT_SOUND
NotificationManager
NotificationManager.getSharedInstance
NotificationManager:cancelAllNotifications
NotificationManager:cancelNotification
NotificationManager:clearLocalNotifications
NotificationManager:clearPushNotifications
NotificationManager:getLocalNotifications
NotificationManager:getPushNotifications
NotificationManager:getScheduledNotifications
NotificationManager:registerForPushNotifications
NotificationManager:unregisterForPushNotifications
Event.LOCAL_NOTIFICATION
Event.PUSH_NOTIFICATION
Event.PUSH_REGISTRATION
Event.PUSH_REGISTRATION_ERROR
Object
Object:getBaseClass
Object:getClass
Object:isInstanceOf
Octal Numbers
os
os.clock
os.date
os.difftime
os.execute
os.exit
os.getenv
os.remove
os.rename
os.setlocale
os.time
os.timer
os.tmpname
package
package.loadlib
Particles
Particles.new
Particles:addParticles
Particles:clearTexture
Particles:getParticleAngle
Particles:getParticleColor
Particles:getParticleDecay
Particles:getParticlePosition
Particles:getParticleSize
Particles:getParticleSpeed
Particles:getParticleTag
Particles:getParticleTtl
Particles:getParticles
Particles:isPaused
Particles:removeParticles
Particles:setParticleAngle
Particles:setParticleColor
Particles:setParticleDecay
Particles:setParticlePosition
Particles:setParticleSize
Particles:setParticleSpeed
Particles:setParticleTag
Particles:setParticleTtl
Particles:setParticlesTag
Particles:setPaused
Particles:setTexture
Path2D
Path2D.new
Path2D:setConvex
Path2D:setFillColor
Path2D:setFontPath
Path2D:setLineColor
Path2D:setLineThickness
Path2D:setPath
Path2D:setSvgPath
Path2D:setTexture
Pixel
Pixel.new
Pixel:getColor
Pixel:getDimensions
Pixel:getTexturePosition
Pixel:getTextureScale
Pixel:setColor
Pixel:setDimensions
Pixel:setHeight
Pixel:setTexture
Pixel:setTextureMatrix
Pixel:setTexturePosition
Pixel:setTextureScale
Pixel:setWidth
RenderTarget
RenderTarget.new
RenderTarget:clear
RenderTarget:draw
RenderTarget:getPixel
RenderTarget:getPixels
RenderTarget:save
Screen
Screen.new
Screen:clear
Screen:getId
Screen:getMaxSize
Screen:getPosition
Screen:getSize
Screen:getState
Screen:setContent
Screen:setPosition
Screen:setSize
Screen:setState
Shader
Shader.new
Shader:getEngineVersion
Shader:getProperties
Shader:getShaderLanguage
Shader:setConstant
Shader.CFLOAT
Shader.CFLOAT4
Shader.CINT
Shader.CMATRIX
Shader.CTEXTURE
Shader.DBYTE
Shader.DFLOAT
Shader.DINT
Shader.DSHORT
Shader.DUBYTE
Shader.DUSHORT
Shader.FLAG_FROM_CODE
Shader.FLAG_NONE
Shader.FLAG_NO_DEFAULT_HEADER
Shader.SYS_COLOR
Shader.SYS_NONE
Shader.SYS_PARTICLESIZE
Shader.SYS_TEXTUREINFO
Shader.SYS_WIT
Shader.SYS_WORLD
Shader.SYS_WVP
Shape
Shape.new
Shape:beginPath
Shape:clear
Shape:closePath
Shape:endPath
Shape:lineTo
Shape:moveTo
Shape:setFillStyle
Shape:setLineStyle
Shape.EVEN_ODD
Shape.NONE
Shape.NON_ZERO
Shape.SOLID
Shape.TEXTURE
Sound
Sound.new
Sound.setListenerPosition
Sound:getLength
Sound:play
SoundChannel
SoundChannel:getPitch
SoundChannel:getPosition
SoundChannel:getVolume
SoundChannel:isLooping
SoundChannel:isPaused
SoundChannel:isPlaying
SoundChannel:setLooping
SoundChannel:setPaused
SoundChannel:setPitch
SoundChannel:setPosition
SoundChannel:setVolume
SoundChannel:setWorldPosition
SoundChannel:stop
Sprite
Sprite.new
Sprite:addChild
Sprite:addChildAt
Sprite:clearBlendMode
Sprite:contains
Sprite:get
Sprite:getAlpha
Sprite:getAnchorPosition
Sprite:getBounds
Sprite:getChildAt
Sprite:getChildIndex
Sprite:getClip
Sprite:getColorTransform
Sprite:getHeight
Sprite:getMatrix
Sprite:getNumChildren
Sprite:getParent
Sprite:getPosition
Sprite:getRotation
Sprite:getRotationX
Sprite:getRotationY
Sprite:getScale
Sprite:getScaleX
Sprite:getScaleY
Sprite:getScaleZ
Sprite:getSkew
Sprite:getSkewX
Sprite:getSkewY
Sprite:getWidth
Sprite:getX
Sprite:getY
Sprite:getZ
Sprite:globalToLocal
Sprite:hitTestPoint
Sprite:isVisible
Sprite:localToGlobal
Sprite:removeChild
Sprite:removeChildAt
Sprite:removeFromParent
Sprite:set
Sprite:setAlpha
Sprite:setAnchorPosition
Sprite:setBlendMode
Sprite:setClip
Sprite:setColorTransform
Sprite:setMatrix
Sprite:setPosition
Sprite:setRotation
Sprite:setRotationX
Sprite:setRotationY
Sprite:setScale
Sprite:setScaleX
Sprite:setScaleY
Sprite:setScaleZ
Sprite:setShader
Sprite:setShaderConstant
Sprite:setSkew
Sprite:setSkewX
Sprite:setSkewY
Sprite:setStencilOperation
Sprite:setVisible
Sprite:setX
Sprite:setY
Sprite:setZ
Sprite:swapChildren
Sprite:swapChildrenAt
Event.ADDED_TO_STAGE
Event.ENTER_FRAME
Event.LAYOUT_RESIZED
Event.MOUSE_DOWN
Event.MOUSE_HOVER
Event.MOUSE_MOVE
Event.MOUSE_UP
Event.MOUSE_WHEEL
Event.REMOVED_FROM_STAGE
Event.TOUCHES_BEGIN
Event.TOUCHES_CANCEL
Event.TOUCHES_END
Event.TOUCHES_MOVE
Sprite.ADD
Sprite.ALPHA
Sprite.MULTIPLY
Sprite.NO_ALPHA
Sprite.SCREEN
sqlite3
Stage
Stage:setClearColorBuffer
StoreKit
StoreKit:canMakePayments
StoreKit:finishTransaction
StoreKit:purchase
StoreKit:requestProducts
StoreKit:restoreCompletedTransactions
Event.REQUEST_PRODUCTS_COMPLETE
Event.TRANSACTION
StoreKit.FAILED
StoreKit.PURCHASED
StoreKit.RESTORED
string
string.byte
string.char
string.dump
string.find
string.format
string.gmatch
string.gsub
string.len
string.lower
string.match
string.rep
string.sub
string.upper
table
table.concat
table.getn
table.insert
table.remove
table.sort
TextField
TextField.new
TextField:getLayout
TextField:getLetterSpacing
TextField:getLineHeight
TextField:getSample
TextField:getText
TextField:getTextColor
TextField:setFont
TextField:setLayout
TextField:setLetterSpacing
TextField:setSample
TextField:setText
TextField:setTextColor
TextInputDialog
TextInputDialog.new
TextInputDialog:getInputType
TextInputDialog:getText
TextInputDialog:isSecureInput
TextInputDialog:setInputType
TextInputDialog:setSecureInput
TextInputDialog:setText
TextInputDialog.EMAIL
TextInputDialog.NUMBER
TextInputDialog.PHONE
TextInputDialog.TEXT
TextInputDialog.URL
Texture
Texture.new
TextureBase
TextureBase:getHeight
TextureBase:getWidth
TextureBase.CLAMP
TextureBase.REPEAT
TextureBase.RGB565
TextureBase.RGB888
TextureBase.RGBA4444
TextureBase.RGBA5551
TextureBase.RGBA8888
TexturePack
TexturePack.new
TexturePack:getTextureRegion
TextureRegion
TextureRegion.new
TextureRegion:getRegion
TextureRegion:getScale
TextureRegion:setRegion
TileMap
TileMap.new
TileMap:clearTile
TileMap:getTile
TileMap:setRepeat
TileMap:setTexture
TileMap:setTile
TileMap:shift
TileMap.FLIP_DIAGONAL
TileMap.FLIP_HORIZONTAL
TileMap.FLIP_VERTICAL
Timer
Timer.delayedCall
Timer.new
Timer.pauseAll
Timer.resumeAll
Timer.stopAll
Timer:getCurrentCount
Timer:getDelay
Timer:getRepeatCount
Timer:isRunning
Timer:reset
Timer:setDelay
Timer:setRepeatCount
Timer:start
Timer:stop
Event.TIMER
Event.TIMER_COMPLETE
Trigonometry Conversion Operators
TTFont
TTFont.new
Universal Bytecode
UrlLoader
UrlLoader.new
UrlLoader:close
UrlLoader:ignoreSslErrors
UrlLoader:load
Event.PROGRESS
UrlLoader.DELETE
UrlLoader.GET
UrlLoader.POST
UrlLoader.PUT
utf8
utf8.byte
utf8.char
utf8.charpos
utf8.codepoint
utf8.codes
utf8.escape
utf8.find
utf8.fold
utf8.gmatch
utf8.gsub
utf8.insert
utf8.len
utf8.lower
utf8.match
utf8.ncasecmp
utf8.next
utf8.offset
utf8.remove
utf8.reverse
utf8.sub
utf8.title
utf8.upper
utf8.width
utf8.widthindex
utf8.charpattern
Viewport
Viewport:lookAngles
Viewport:lookAt
Viewport:setContent
Viewport:setProjection
Viewport:setTransform
zlib
zlib.adler32
zlib.compress
zlib.crc32
zlib.decompress
zlib.deflate
zlib.inflate

Reference

Main API
Labs
Facebook Instant Games
Lua API
Physics API
Lua enhancements
Plugins
| style="width: 30%;"|