This is the complete list of Lua APIs for Solar2D. If you’re looking to extend Solar2D beyond the functionality provided by these Lua APIs, please see the Solar2D Native documentation.
If you’re new, download Solar2D and proceed to the Getting Started series. There are also numerous guides on specific topics.
To download this documentation for offline viewing, please click here.
display.safeActualContentHeight
display.safeActualContentWidth
requir e()
physics.getAverageCollisionPositions()
physics.getDebugErrorsEnabled()
physics.getReportCollisionsInContentCoordinates()
physics.setAverageCollisionPositions()
physics.setDebugErrorsEnabled()
physics.setPositionIterations()
physics.setReportCollisionsInContentCoordinates()
system.ApplicationSupportDirectory
object.particleDestructionByAge
object:resizeFontToFitHeight()