-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlove_api.json
1 lines (1 loc) · 650 KB
/
love_api.json
1
{"love.getVersion":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#getVersion","description":"Gets the current running version of LÖVE.","returns":[{"name":"major","description":"The major version of LÖVE, i.e. 0 for version 0.9.1.","type":"number"},{"name":"minor","description":"The minor version of LÖVE, i.e. 9 for version 0.9.1.","type":"number"},{"name":"revision","description":"The revision version of LÖVE, i.e. 1 for version 0.9.1.","type":"number"},{"name":"codename","description":"The codename of the current version, i.e. 'Baby Inspector' for version 0.9.1.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.getVersion","namespace":"love","name":"getVersion"}},"love.Data":{"meta":{"supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Data","name":"Data","prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Data","namespace":"love","description":"The superclass of all data."}},"love.wheelmoved":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#wheelmoved","arguments":[{"name":"x","description":"Amount of horizontal mouse wheel movement. Positive values indicate movement to the right.","type":"number"},{"name":"y","description":"Amount of vertical mouse wheel movement. Positive values indicate upward movement.","type":"number"}],"description":"Callback function triggered when the mouse wheel is moved.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.wheelmoved","namespace":"love","name":"wheelmoved"}},"love.visible":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#visible","arguments":[{"name":"visible","description":"True if the window is visible, false if it isn't.","type":"boolean"}],"description":"Callback function triggered when window is minimized/hidden or unminimized by the user.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.visible","namespace":"love","name":"visible"}},"love.update":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#update","arguments":[{"name":"dt","description":"Time since the last update in seconds.","type":"number"}],"description":"Callback function used to update the state of the game every frame.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.update","namespace":"love","name":"update"}},"love.touchreleased":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#touchreleased","arguments":[{"name":"id","description":"The identifier for the touch press.","type":"light userdata"},{"name":"x","description":"The x-axis position of the touch inside the window, in pixels.","type":"number"},{"name":"y","description":"The y-axis position of the touch inside the window, in pixels.","type":"number"},{"name":"dx","description":"The x-axis movement of the touch inside the window, in pixels.","type":"number"},{"name":"dy","description":"The y-axis movement of the touch inside the window, in pixels.","type":"number"},{"name":"pressure","description":"The amount of pressure being applied. Most touch screens aren't pressure sensitive, in which case the pressure will be 1.","type":"number"}],"description":"Callback function triggered when the touch screen stops being touched.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.touchreleased","namespace":"love","name":"touchreleased"}},"love.mousemoved":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mousemoved","arguments":[{"name":"x","description":"The mouse position on the x-axis.","type":"number"},{"name":"y","description":"The mouse position on the y-axis.","type":"number"},{"name":"dx","description":"The amount moved along the x-axis since the last time love.mousemoved was called.","type":"number"},{"name":"dy","description":"The amount moved along the y-axis since the last time love.mousemoved was called.","type":"number"},{"name":"istouch","description":"True if the mouse button press originated from a touchscreen touch-press.","type":"boolean"}],"description":"Callback function triggered when the mouse is moved.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mousemoved","namespace":"love","name":"mousemoved"}},"love.touchmoved":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#touchmoved","arguments":[{"name":"id","description":"The identifier for the touch press.","type":"light userdata"},{"name":"x","description":"The x-axis position of the touch inside the window, in pixels.","type":"number"},{"name":"y","description":"The y-axis position of the touch inside the window, in pixels.","type":"number"},{"name":"dx","description":"The x-axis movement of the touch inside the window, in pixels.","type":"number"},{"name":"dy","description":"The y-axis movement of the touch inside the window, in pixels.","type":"number"},{"name":"pressure","description":"The amount of pressure being applied. Most touch screens aren't pressure sensitive, in which case the pressure will be 1.","type":"number"}],"description":"Callback function triggered when a touch press moves inside the touch screen.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.touchmoved","namespace":"love","name":"touchmoved"}},"love.textinput":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#textinput","arguments":[{"name":"text","description":"The UTF-8 encoded unicode text.","type":"string"}],"description":"Called when text has been entered by the user. For example if shift-2 is pressed on an American keyboard layout, the text '@' will be generated.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.textinput","namespace":"love","name":"textinput"}},"love.hasDeprecationOutput":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#hasDeprecationOutput","description":"Gets whether LÖVE displays warnings when using deprecated functionality. It is disabled by default in fused mode, and enabled by default otherwise.\n\nWhen deprecation output is enabled, the first use of a formally deprecated LÖVE API will show a message at the bottom of the screen for a short time, and print the message to the console.","returns":[{"name":"enabled","description":"Whether deprecation output is enabled.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.hasDeprecationOutput","namespace":"love","name":"hasDeprecationOutput"}},"love.textedited":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#textedited","arguments":[{"name":"text","description":"The UTF-8 encoded unicode candidate text.","type":"string"},{"name":"start","description":"The start cursor of the selected candidate text.","type":"number"},{"name":"length","description":"The length of the selected candidate text. May be 0.","type":"number"}],"description":"Called when the candidate text for an IME (Input Method Editor) has changed.\n\nThe candidate text is not the final text that the user will eventually choose. Use love.textinput for that.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.textedited","namespace":"love","name":"textedited"}},"love.run":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#run","description":"The main function, containing the main loop. A sensible default is used when left out.","returns":[{"name":"mainLoop","description":"Function which handlers one frame, including events and rendering when called.","type":"function"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.run","namespace":"love","name":"run"}},"love.resize":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#resize","arguments":[{"name":"w","description":"The new width.","type":"number"},{"name":"h","description":"The new height.","type":"number"}],"description":"Called when the window is resized, for example if the user resizes the window, or if love.window.setMode is called with an unsupported width or height in fullscreen and the window chooses the closest appropriate size.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.resize","namespace":"love","name":"resize"}},"love.mousereleased":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mousereleased","arguments":[{"name":"x","description":"Mouse x position, in pixels.","type":"number"},{"name":"y","description":"Mouse y position, in pixels.","type":"number"},{"name":"button","description":"The button index that was released. 1 is the primary mouse button, 2 is the secondary mouse button and 3 is the middle button. Further buttons are mouse dependent.","type":"number"},{"name":"istouch","description":"True if the mouse button release originated from a touchscreen touch-release.","type":"boolean"},{"name":"presses","description":"The number of presses in a short time frame and small area, used to simulate double, triple clicks","type":"number"}],"description":"Callback function triggered when a mouse button is released.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mousereleased","namespace":"love","name":"mousereleased"}},"love.touchpressed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#touchpressed","arguments":[{"name":"id","description":"The identifier for the touch press.","type":"light userdata"},{"name":"x","description":"The x-axis position of the touch press inside the window, in pixels.","type":"number"},{"name":"y","description":"The y-axis position of the touch press inside the window, in pixels.","type":"number"},{"name":"dx","description":"The x-axis movement of the touch press inside the window, in pixels. This should always be zero.","type":"number"},{"name":"dy","description":"The y-axis movement of the touch press inside the window, in pixels. This should always be zero.","type":"number"},{"name":"pressure","description":"The amount of pressure being applied. Most touch screens aren't pressure sensitive, in which case the pressure will be 1.","type":"number"}],"description":"Callback function triggered when the touch screen is touched.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.touchpressed","namespace":"love","name":"touchpressed"}},"love.load":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#load","arguments":[{"name":"arg","description":"Command-line arguments given to the game.","type":"table"},{"name":"unfilteredArg","description":"Unfiltered command-line arguments given to the executable (see #Notes).","type":"table"}],"description":"This function is called exactly once at the beginning of the game.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.load","namespace":"love","name":"load"}},"love.keyreleased":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#keyreleased","arguments":[{"name":"key","description":"Character of the released key.","type":"KeyConstant"},{"name":"scancode","description":"The scancode representing the released key.","type":"Scancode"}],"description":"Callback function triggered when a keyboard key is released.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.keyreleased","namespace":"love","name":"keyreleased"}},"love.joystickremoved":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#joystickremoved","arguments":[{"name":"joystick","description":"The now-disconnected Joystick object.","type":"Joystick"}],"description":"Called when a Joystick is disconnected.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.joystickremoved","namespace":"love","name":"joystickremoved"}},"love.joystickreleased":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#joystickreleased","arguments":[{"name":"joystick","description":"The joystick object.","type":"Joystick"},{"name":"button","description":"The button number.","type":"number"}],"description":"Called when a joystick button is released.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.joystickreleased","namespace":"love","name":"joystickreleased"}},"love.joystickpressed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#joystickpressed","arguments":[{"name":"joystick","description":"The joystick object.","type":"Joystick"},{"name":"button","description":"The button number.","type":"number"}],"description":"Called when a joystick button is pressed.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.joystickpressed","namespace":"love","name":"joystickpressed"}},"love.joystickhat":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#joystickhat","arguments":[{"name":"joystick","description":"The joystick object.","type":"Joystick"},{"name":"hat","description":"The hat number.","type":"number"},{"name":"direction","description":"The new hat direction.","type":"JoystickHat"}],"description":"Called when a joystick hat direction changes.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.joystickhat","namespace":"love","name":"joystickhat"}},"love.joystickaxis":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#joystickaxis","arguments":[{"name":"joystick","description":"The joystick object.","type":"Joystick"},{"name":"axis","description":"The axis number.","type":"number"},{"name":"value","description":"The new axis value.","type":"number"}],"description":"Called when a joystick axis moves.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.joystickaxis","namespace":"love","name":"joystickaxis"}},"love.joystickadded":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#joystickadded","arguments":[{"name":"joystick","description":"The newly connected Joystick object.","type":"Joystick"}],"description":"Called when a Joystick is connected.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.joystickadded","namespace":"love","name":"joystickadded"}},"love.gamepadreleased":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#gamepadreleased","arguments":[{"name":"joystick","description":"The joystick object.","type":"Joystick"},{"name":"button","description":"The virtual gamepad button.","type":"GamepadButton"}],"description":"Called when a Joystick's virtual gamepad button is released.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.gamepadreleased","namespace":"love","name":"gamepadreleased"}},"love.gamepadpressed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#gamepadpressed","arguments":[{"name":"joystick","description":"The joystick object.","type":"Joystick"},{"name":"button","description":"The virtual gamepad button.","type":"GamepadButton"}],"description":"Called when a Joystick's virtual gamepad button is pressed.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.gamepadpressed","namespace":"love","name":"gamepadpressed"}},"love.gamepadaxis":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#gamepadaxis","arguments":[{"name":"joystick","description":"The joystick object.","type":"Joystick"},{"name":"axis","description":"The virtual gamepad axis.","type":"GamepadAxis"},{"name":"value","description":"The new axis value.","type":"number"}],"description":"Called when a Joystick's virtual gamepad axis is moved.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.gamepadaxis","namespace":"love","name":"gamepadaxis"}},"love.filedropped":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filedropped","arguments":[{"name":"file","description":"The unopened File object representing the file that was dropped.","type":"DroppedFile"}],"description":"Callback function triggered when a file is dragged and dropped onto the window.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filedropped","namespace":"love","name":"filedropped"}},"love.data":{"meta":{"wiki_link":"https://love2d.org/wiki/love.data","name":"data","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#data","namespace":"love","description":"Provides functionality for creating and transforming data."}},"love.errorhandler":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#errorhandler","arguments":[{"name":"msg","description":"The error message.","type":"string"}],"description":"The error handler, used to display error messages.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.errorhandler","namespace":"love","name":"errorhandler"}},"love.draw":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#draw","description":"Callback function used to draw on the screen every frame.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.draw","namespace":"love","name":"draw"}},"love.directorydropped":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#directorydropped","arguments":[{"name":"path","description":"The full platform-dependent path to the directory. It can be used as an argument to love.filesystem.mount, in order to gain read access to the directory with love.filesystem.","type":"string"}],"description":"Callback function triggered when a directory is dragged and dropped onto the window.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.directorydropped","namespace":"love","name":"directorydropped"}},"love.conf":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#conf","arguments":[{"name":"t","table":[{"name":"identity","default":"nil","description":"This flag determines the name of the save directory for your game. Note that you can only specify the name, not the location where it will be created:\nt.identity = \"gabe_HL3\" -- Correct\n\nt.identity = \"c:/Users/gabe/HL3\" -- Incorrect\nAlternatively love.filesystem.setIdentity can be used to set the save directory outside of the config file.","type":"string"},{"name":"appendidentity","default":"false","description":"This flag determines if game directory should be searched first then save directory (true) or otherwise (false)","type":"boolean"},{"name":"version","default":"\"11.3\"","description":"t.version should be a string, representing the version of LÖVE for which your game was made. It should be formatted as \"X.Y.Z\" where X is the major release number, Y the minor, and Z the patch level. It allows LÖVE to display a warning if it isn't compatible. Its default is the version of LÖVE running.","type":"string"},{"name":"console","default":"false","description":"Determines whether a console should be opened alongside the game window (Windows only) or not. Note: On OSX you can get console output by running LÖVE through the terminal.","type":"boolean"},{"name":"accelerometerjoystick","default":"true","description":"Sets whether the device accelerometer on iOS and Android should be exposed as a 3-axis Joystick. Disabling the accelerometer when it's not used may reduce CPU usage.","type":"boolean"},{"name":"externalstorage","default":"false","description":"Sets whether files are saved in external storage (true) or internal storage (false) on Android.","type":"boolean"},{"name":"gammacorrect","default":"false","description":"Determines whether gamma-correct rendering is enabled, when the system supports it.","type":"boolean"},{"name":"audio","table":[{"name":"mic","default":"false","description":"Request microphone permission from the user. When user allows it, love.audio.getRecordingDevices will lists recording devices available. Otherwise, love.audio.getRecordingDevices returns empty table and a message is shown to inform user when called.","type":"boolean"},{"name":"mixwithsystem","default":"true","description":"Sets whether background audio / music from other apps should play while LÖVE is open. See love.system.hasBackgroundMusic for more details.","type":"boolean"}],"description":"Audio options.","type":"table"},{"name":"window","table":[{"name":"title","default":"\"Untitled\"","description":"Sets the title of the window the game is in. Alternatively love.window.setTitle can be used to change the window title outside of the config file.","type":"string"},{"name":"icon","default":"nil","description":"A filepath to an image to use as the window's icon. Not all operating systems support very large icon images. The icon can also be changed with love.window.setIcon.","type":"string"},{"name":"width","default":"800","description":"Sets the window's dimensions. If these flags are set to 0 LÖVE automatically uses the user's desktop dimensions.","type":"number"},{"name":"height","default":"600","description":"Sets the window's dimensions. If these flags are set to 0 LÖVE automatically uses the user's desktop dimensions.","type":"number"},{"name":"borderless","default":"false","description":"Removes all border visuals from the window. Note that the effects may wary between operating systems.","type":"boolean"},{"name":"resizable","default":"false","description":"If set to true this allows the user to resize the game's window.","type":"boolean"},{"name":"minwidth","default":"1","description":"Sets the minimum width and height for the game's window if it can be resized by the user. If you set lower values to window.width and window.height LÖVE will always favor the minimum dimensions set via window.minwidth and window.minheight.","type":"number"},{"name":"minheight","default":"1","description":"Sets the minimum width and height for the game's window if it can be resized by the user. If you set lower values to window.width and window.height LÖVE will always favor the minimum dimensions set via window.minwidth and window.minheight.","type":"number"},{"name":"fullscreen","default":"false","description":"Whether to run the game in fullscreen (true) or windowed (false) mode. The fullscreen can also be toggled via love.window.setFullscreen or love.window.setMode.","type":"boolean"},{"name":"fullscreentype","default":"\"desktop\"","description":"Specifies the type of fullscreen mode to use (normal or desktop). Generally the desktop is recommended, as it is less restrictive than normal mode on some operating systems.","type":"string"},{"name":"usedpiscale","default":"true","description":"Sets whetever to enable or disable automatic DPI scaling.","type":"boolean"},{"name":"vsync","default":"true","description":"Enables or deactivates vertical synchronization. Vsync tries to keep the game at a steady framerate and can prevent issues like screen tearing. It is recommended to keep vsync activated if you don't know about the possible implications of turning it off. Before LÖVE 11.0, this value was boolean (true or false). Since LÖVE 11.0, this value is number (1 to enable vsync, 0 to disable vsync, -1 to use adaptive vsync when supported).\n\nNote that in iOS, vertical synchronization is always enabled and cannot be changed.","type":"number"},{"name":"depth","default":"nil","description":"The number of bits per sample in the depth buffer (16/24/32, default nil)","type":"number"},{"name":"stencil","default":"nil","description":"Then number of bits per sample in the depth buffer (generally 8, default nil)","type":"number"},{"name":"msaa","default":"0","description":"The number of samples to use with multi-sampled antialiasing.","type":"number"},{"name":"display","default":"1","description":"The index of the display to show the window in, if multiple monitors are available.","type":"number"},{"name":"highdpi","default":"false","description":"See love.window.getPixelScale, love.window.toPixels, and love.window.fromPixels. It is recommended to keep this option disabled if you can't test your game on a Mac or iOS system with a Retina display, because code will need tweaking to make sure things look correct.","type":"boolean"},{"name":"x","default":"nil","description":"Determines the position of the window on the user's screen. Alternatively love.window.setPosition can be used to change the position on the fly.","type":"number"},{"name":"y","default":"nil","description":"Determines the position of the window on the user's screen. Alternatively love.window.setPosition can be used to change the position on the fly.","type":"number"}],"description":"It is possible to defer window creation until love.window.setMode is first called in your code. To do so, set t.window = nil in love.conf (or t.screen = nil in older versions.) If this is done, LÖVE may crash if any function from love.graphics is called before the first love.window.setMode in your code.\n\nThe t.window table was named t.screen in versions prior to 0.9.0. The t.screen table doesn't exist in love.conf in 0.9.0, and the t.window table doesn't exist in love.conf in 0.8.0. This means love.conf will fail to execute (therefore it will fall back to default values) if care is not taken to use the correct table for the LÖVE version being used.","type":"table"},{"name":"modules","table":[{"name":"audio","default":"true","description":"Enable the audio module.","type":"boolean"},{"name":"event","default":"true","description":"Enable the event module.","type":"boolean"},{"name":"graphics","default":"true","description":"Enable the graphics module.","type":"boolean"},{"name":"image","default":"true","description":"Enable the image module.","type":"boolean"},{"name":"joystick","default":"true","description":"Enable the joystick module.","type":"boolean"},{"name":"keyboard","default":"true","description":"Enable the keyboard module.","type":"boolean"},{"name":"math","default":"true","description":"Enable the math module.","type":"boolean"},{"name":"mouse","default":"true","description":"Enable the mouse module.","type":"boolean"},{"name":"physics","default":"true","description":"Enable the physics module.","type":"boolean"},{"name":"sound","default":"true","description":"Enable the sound module.","type":"boolean"},{"name":"system","default":"true","description":"Enable the system module.","type":"boolean"},{"name":"timer","default":"true","description":"Enable the timer module.","type":"boolean"},{"name":"touch","default":"true","description":"Enable the touch module.","type":"boolean"},{"name":"video","default":"true","description":"Enable the video module.","type":"boolean"},{"name":"window","default":"true","description":"Enable the window module.","type":"boolean"},{"name":"thread","default":"true","description":"Enable the thread module.","type":"boolean"}],"description":"Module options.","type":"table"}],"description":"The love.conf function takes one argument: a table filled with all the default values which you can overwrite to your liking. If you want to change the default window size, for instance, do:\n\nfunction love.conf(t)\n t.window.width = 1024\n t.window.height = 768\nend\n\nIf you don't need the physics module or joystick module, do the following.\n\nfunction love.conf(t)\n t.modules.joystick = false\n t.modules.physics = false\nend\n\nSetting unused modules to false is encouraged when you release your game. It reduces startup time slightly (especially if the joystick module is disabled) and reduces memory usage (slightly).\n\nNote that you can't disable love.filesystem; it's mandatory. The same goes for the love module itself. love.graphics needs love.window to be enabled.","type":"table"}],"description":"If a file called conf.lua is present in your game folder (or .love file), it is run before the LÖVE modules are loaded. You can use this file to overwrite the love.conf function, which is later called by the LÖVE 'boot' script. Using the love.conf function, you can set some configuration options, and change things like the default size of the window, which modules are loaded, and other stuff.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.conf","namespace":"love","name":"conf"}},"love.mousepressed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mousepressed","arguments":[{"name":"x","description":"Mouse x position, in pixels.","type":"number"},{"name":"y","description":"Mouse y position, in pixels.","type":"number"},{"name":"button","description":"The button index that was pressed. 1 is the primary mouse button, 2 is the secondary mouse button and 3 is the middle button. Further buttons are mouse dependent.","type":"number"},{"name":"istouch","description":"True if the mouse button press originated from a touchscreen touch-press.","type":"boolean"},{"name":"presses","description":"The number of presses in a short time frame and small area, used to simulate double, triple clicks","type":"number"}],"description":"Callback function triggered when a mouse button is pressed.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mousepressed","namespace":"love","name":"mousepressed"}},"love.setDeprecationOutput":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#setDeprecationOutput","arguments":[{"name":"enable","description":"Whether to enable or disable deprecation output.","type":"boolean"}],"description":"Sets whether LÖVE displays warnings when using deprecated functionality. It is disabled by default in fused mode, and enabled by default otherwise.\n\nWhen deprecation output is enabled, the first use of a formally deprecated LÖVE API will show a message at the bottom of the screen for a short time, and print the message to the console.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.setDeprecationOutput","namespace":"love","name":"setDeprecationOutput"}},"love.joystick":{"meta":{"wiki_link":"https://love2d.org/wiki/love.joystick","name":"joystick","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#joystick","namespace":"love","description":"Provides an interface to the user's joystick."}},"love.touch":{"meta":{"wiki_link":"https://love2d.org/wiki/love.touch","name":"touch","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#touch","namespace":"love","description":"Provides an interface to touch-screen presses."}},"love.timer":{"meta":{"wiki_link":"https://love2d.org/wiki/love.timer","name":"timer","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#timer","namespace":"love","description":"Provides an interface to the user's clock."}},"love.thread":{"meta":{"wiki_link":"https://love2d.org/wiki/love.thread","name":"thread","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#thread","namespace":"love","description":"Allows you to work with threads.\n\nThreads are separate Lua environments, running in parallel to the main code. As their code runs separately, they can be used to compute complex operations without adversely affecting the frame rate of the main thread. However, as they are separate environments, they cannot access the variables and functions of the main thread, and communication between threads is limited.\n\nAll LOVE objects (userdata) are shared among threads so you'll only have to send their references across threads. You may run into concurrency issues if you manipulate an object on multiple threads at the same time.\n\nWhen a Thread is started, it only loads the love.thread module. Every other module has to be loaded with require."}},"love.sound":{"meta":{"wiki_link":"https://love2d.org/wiki/love.sound","name":"sound","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#sound","namespace":"love","description":"This module is responsible for decoding sound files. It can't play the sounds, see love.audio for that."}},"love.system":{"meta":{"wiki_link":"https://love2d.org/wiki/love.system","name":"system","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#system","namespace":"love","description":"Provides access to information about the user's system."}},"love.mousefocus":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mousefocus","arguments":[{"name":"focus","description":"Whether the window has mouse focus or not.","type":"boolean"}],"description":"Callback function triggered when window receives or loses mouse focus.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mousefocus","namespace":"love","name":"mousefocus"}},"love.image":{"meta":{"wiki_link":"https://love2d.org/wiki/love.image","name":"image","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#image","namespace":"love","description":"Provides an interface to decode encoded image data."}},"love.lowmemory":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#lowmemory","description":"Callback function triggered when the system is running out of memory on mobile devices.\n\nMobile operating systems may forcefully kill the game if it uses too much memory, so any non-critical resource should be removed if possible (by setting all variables referencing the resources to '''nil'''), when this event is triggered. Sounds and images in particular tend to use the most memory.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.lowmemory","namespace":"love","name":"lowmemory"}},"love.graphics":{"meta":{"wiki_link":"https://love2d.org/wiki/love.graphics","name":"graphics","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#graphics","namespace":"love","description":"The primary responsibility for the love.graphics module is the drawing of lines, shapes, text, Images and other Drawable objects onto the screen. Its secondary responsibilities include loading external files (including Images and Fonts) into memory, creating specialized objects (such as ParticleSystems or Canvases) and managing screen geometry.\n\nLÖVE's coordinate system is rooted in the upper-left corner of the screen, which is at location (0, 0). The x axis is horizontal: larger values are further to the right. The y axis is vertical: larger values are further towards the bottom.\n\nIn many cases, you draw images or shapes in terms of their upper-left corner.\n\nMany of the functions are used to manipulate the graphics coordinate system, which is essentially the way coordinates are mapped to the display. You can change the position, scale, and even rotation in this way."}},"love.audio":{"meta":{"wiki_link":"https://love2d.org/wiki/love.audio","name":"audio","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#audio","namespace":"love","description":"Provides an interface to create noise with the user's speakers."}},"love.quit":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#quit","description":"Callback function triggered when the game is closed.","returns":[{"name":"r","description":"Abort quitting. If true, do not close the game.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.quit","namespace":"love","name":"quit"}},"love.Object":{"meta":{"wiki_link":"https://love2d.org/wiki/Object","name":"Object","prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Object","namespace":"love","description":"The superclass of all LÖVE types."}},"love.filesystem":{"meta":{"wiki_link":"https://love2d.org/wiki/love.filesystem","name":"filesystem","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#filesystem","namespace":"love","description":"Provides an interface to the user's filesystem."}},"love.keyboard":{"meta":{"wiki_link":"https://love2d.org/wiki/love.keyboard","name":"keyboard","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#keyboard","namespace":"love","description":"Provides an interface to the user's keyboard."}},"love.math":{"meta":{"wiki_link":"https://love2d.org/wiki/love.math","name":"math","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#math","namespace":"love","description":"Provides system-independent mathematical functions."}},"love.event":{"meta":{"wiki_link":"https://love2d.org/wiki/love.event","name":"event","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#event","namespace":"love","description":"Manages events, like keypresses."}},"love.threaderror":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#threaderror","arguments":[{"name":"thread","description":"The thread which produced the error.","type":"Thread"},{"name":"errorstr","description":"The error message.","type":"string"}],"description":"Callback function triggered when a Thread encounters an error.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.threaderror","namespace":"love","name":"threaderror"}},"love.physics":{"meta":{"wiki_link":"https://love2d.org/wiki/love.physics","name":"physics","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#physics","namespace":"love","description":"Can simulate 2D rigid body physics in a realistic manner. This module is based on Box2D, and this API corresponds to the Box2D API as closely as possible."}},"love.mouse":{"meta":{"wiki_link":"https://love2d.org/wiki/love.mouse","name":"mouse","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#mouse","namespace":"love","description":"Provides an interface to the user's mouse."}},"love.window":{"meta":{"wiki_link":"https://love2d.org/wiki/love.window","name":"window","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#window","namespace":"love","description":"Provides an interface for modifying and retrieving information about the program's window."}},"love.font":{"meta":{"wiki_link":"https://love2d.org/wiki/love.font","name":"font","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#font","namespace":"love","description":"Allows you to work with fonts."}},"love.focus":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#focus","arguments":[{"name":"focus","description":"True if the window gains focus, false if it loses focus. ","type":"boolean"}],"description":"Callback function triggered when window receives or loses focus.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.focus","namespace":"love","name":"focus"}},"love.keypressed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#keypressed","arguments":[{"name":"key","description":"Character of the pressed key.","type":"KeyConstant"},{"name":"scancode","description":"The scancode representing the pressed key.","type":"Scancode"},{"name":"isrepeat","description":"Whether this keypress event is a repeat. The delay between key repeats depends on the user's system settings.","type":"boolean"}],"description":"Callback function triggered when a key is pressed.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.keypressed","namespace":"love","name":"keypressed"}},"love.video":{"meta":{"wiki_link":"https://love2d.org/wiki/love.video","name":"video","prop_type":"module","api_link":"https://love2d-community.github.io/love-api/#video","namespace":"love","description":"This module is responsible for decoding, controlling, and streaming video files.\n\nIt can't draw the videos, see love.graphics.newVideo and Video objects for that."}},"love.displayrotated":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#displayrotated","arguments":[{"name":"index","description":"The index of the display that changed orientation.","type":"number"},{"name":"orientation","description":"The new orientation.","type":"DisplayOrientation"}],"description":"Called when the device display orientation changed, for example, user rotated their phone 180 degrees.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.displayrotated","namespace":"love","name":"displayrotated"}},"love.filesystem.init":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_init","arguments":[{"name":"appname","description":"The name of the application binary, typically love.","type":"string"}],"description":"Initializes love.filesystem, will be called internally, so should not be used explicitly.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.init","namespace":"love.filesystem","name":"init"}},"love.graphics.isGammaCorrect":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_isGammaCorrect","description":"Gets whether gamma-correct rendering is supported and enabled. It can be enabled by setting t.gammacorrect = true in love.conf.\n\nNot all devices support gamma-correct rendering, in which case it will be automatically disabled and this function will return false. It is supported on desktop systems which have graphics cards that are capable of using OpenGL 3 / DirectX 10, and iOS devices that can use OpenGL ES 3.","returns":[{"name":"gammacorrect","description":"True if gamma-correct rendering is supported and was enabled in love.conf, false otherwise.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.isGammaCorrect","namespace":"love.graphics","name":"isGammaCorrect"}},"love.sound.newSoundData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#sound_newSoundData","arguments":[{"name":"filename","description":"The file name of the file to load.","type":"string"}],"description":"Creates new SoundData from a filepath, File, or Decoder. It's also possible to create SoundData with a custom sample rate, channel and bit depth.\n\nThe sound data will be decoded to the memory in a raw format. It is recommended to create only short sounds like effects, as a 3 minute song uses 30 MB of memory this way.","returns":[{"name":"soundData","description":"A new SoundData object.","type":"SoundData"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.sound.newSoundData","namespace":"love.sound","name":"newSoundData"}},"love.Object.release":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Object_release","description":"Destroys the object's Lua reference. The object will be completely deleted if it's not referenced by any other LÖVE object or thread.\n\nThis method can be used to immediately clean up resources without waiting for Lua's garbage collector.","returns":[{"name":"success","description":"True if the object was released by this call, false if it had been previously released.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Object:release","namespace":"love.Object","name":"release"}},"love.graphics.Text":{"meta":{"name":"Text","supertypes":["Drawable","Object"],"wiki_link":"https://love2d.org/wiki/Text","constructors":["newText"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Text","namespace":"love.graphics","description":"Drawable text."}},"love.Data.getString":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Data_getString","description":"Gets the full Data as a string.","returns":[{"name":"data","description":"The raw data.","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Data:getString","namespace":"love.Data","name":"getString"}},"love.Data.getSize":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Data_getSize","description":"Gets the Data's size in bytes.","returns":[{"name":"size","description":"The size of the Data in bytes.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Data:getSize","namespace":"love.Data","name":"getSize"}},"love.graphics.replaceTransform":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_replaceTransform","arguments":[{"name":"transform","description":"The Transform object to replace the current graphics coordinate transform with.","type":"Transform"}],"description":"Replaces the current coordinate transformation with the given Transform object.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.replaceTransform","namespace":"love.graphics","name":"replaceTransform"}},"love.Data.getFFIPointer":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Data_getFFIPointer","description":"Gets an FFI pointer to the Data.\n\nThis function should be preferred instead of Data:getPointer because the latter uses light userdata which can't store more all possible memory addresses on some new ARM64 architectures, when LuaJIT is used.","returns":[{"name":"pointer","description":"A raw void* pointer to the Data, or nil if FFI is unavailable.","type":"cdata"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Data:getFFIPointer","namespace":"love.Data","name":"getFFIPointer"}},"love.Data.clone":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Data_clone","description":"Creates a new copy of the Data object.","returns":[{"name":"clone","description":"The new copy.","type":"Data"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Data:clone","namespace":"love.Data","name":"clone"}},"love.mouse.isVisible":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_isVisible","description":"Checks if the cursor is visible.","returns":[{"name":"visible","description":"True if the cursor to visible, false if the cursor is hidden.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.isVisible","namespace":"love.mouse","name":"isVisible"}},"love.graphics.validateShader":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_validateShader","arguments":[{"name":"gles","description":"Validate code as GLSL ES shader.","type":"boolean"},{"name":"code","description":"The pixel shader or vertex shader code, or a filename pointing to a file with the code.","type":"string"}],"description":"Validates shader code. Check if specified shader code does not contain any errors.","returns":[{"name":"status","description":"true if specified shader code doesn't contain any errors. false otherwise.","type":"boolean"},{"name":"message","description":"Reason why shader code validation failed (or nil if validation succeded).","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.validateShader","namespace":"love.graphics","name":"validateShader"}},"love.filesystem.write":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_write","arguments":[{"name":"name","description":"The name (and path) of the file.","type":"string"},{"name":"data","description":"The string data to write to the file.","type":"string"},{"name":"size","default":"all","description":"How many bytes to write.","type":"number"}],"description":"Write data to a file in the save directory. If the file existed already, it will be completely replaced by the new contents.","returns":[{"name":"success","description":"If the operation was successful.","type":"boolean"},{"name":"message","description":"Error message if operation was unsuccessful.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.write","namespace":"love.filesystem","name":"write"}},"love.data.newDataView":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#data_newDataView","arguments":[{"name":"data","description":"The Data object to reference.","type":"Data"},{"name":"offset","description":"The offset of the subsection to reference, in bytes.","type":"number"},{"name":"size","description":"The size in bytes of the subsection to reference.","type":"number"}],"description":"Creates a new Data referencing a subsection of an existing Data object.","returns":[{"name":"view","description":"The new Data view.","type":"Data"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.data.newDataView","namespace":"love.data","name":"newDataView"}},"love.graphics.isActive":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_isActive","description":"Gets whether the graphics module is able to be used. If it is not active, love.graphics function and method calls will not work correctly and may cause the program to crash.\nThe graphics module is inactive if a window is not open, or if the app is in the background on iOS. Typically the app's execution will be automatically paused by the system, in the latter case.","returns":[{"name":"active","description":"Whether the graphics module is active and able to be used.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.isActive","namespace":"love.graphics","name":"isActive"}},"love.keyboard.isDown":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#keyboard_isDown","arguments":[{"name":"key","description":"The key to check.","type":"KeyConstant"}],"description":"Checks whether a certain key is down. Not to be confused with love.keypressed or love.keyreleased.","returns":[{"name":"down","description":"True if the key is down, false if not.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.keyboard.isDown","namespace":"love.keyboard","name":"isDown"}},"love.image.ImageData":{"meta":{"name":"ImageData","supertypes":["Data","Object"],"wiki_link":"https://love2d.org/wiki/ImageData","constructors":["newImageData"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_ImageData","namespace":"love.image","description":"Raw (decoded) image data.\n\nYou can't draw ImageData directly to screen. See Image for that."}},"love.mouse.setCursor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_setCursor","arguments":[{"name":"cursor","description":"The Cursor object to use as the current mouse cursor.","type":"Cursor"}],"description":"Sets the current mouse cursor.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.setCursor","namespace":"love.mouse","name":"setCursor"}},"love.audio.getDistanceModel":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_getDistanceModel","description":"Returns the distance attenuation model.","returns":[{"name":"model","description":"The current distance model. The default is 'inverseclamped'.","type":"DistanceModel"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.getDistanceModel","namespace":"love.audio","name":"getDistanceModel"}},"love.graphics.setNewFont":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setNewFont","arguments":[{"name":"size","default":"12","description":"The size of the font.","type":"number"}],"description":"Creates and sets a new Font.","returns":[{"name":"font","description":"The new font.","type":"Font"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setNewFont","namespace":"love.graphics","name":"setNewFont"}},"love.physics.newRopeJoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newRopeJoint","arguments":[{"name":"body1","description":"The first body to attach to the joint.","type":"Body"},{"name":"body2","description":"The second body to attach to the joint.","type":"Body"},{"name":"x1","description":"The x position of the first anchor point.","type":"number"},{"name":"y1","description":"The y position of the first anchor point.","type":"number"},{"name":"x2","description":"The x position of the second anchor point.","type":"number"},{"name":"y2","description":"The y position of the second anchor point.","type":"number"},{"name":"maxLength","description":"The maximum distance for the bodies.","type":"number"},{"name":"collideConnected","default":"false","description":"Specifies whether the two bodies should collide with each other.","type":"boolean"}],"description":"Creates a joint between two bodies. Its only function is enforcing a max distance between these bodies.","returns":[{"name":"joint","description":"The new RopeJoint.","type":"RopeJoint"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newRopeJoint","namespace":"love.physics","name":"newRopeJoint"}},"love.graphics.flushBatch":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_flushBatch","description":"Immediately renders any pending automatically batched draws.\n\nLÖVE will call this function internally as needed when most state is changed, so it is not necessary to manually call it.\n\nThe current batch will be automatically flushed by color), as well as Shader:send and methods on Textures which change their state. Using a different Image in consecutive love.graphics.draw calls will also flush the current batch.\n\nSpriteBatches, ParticleSystems, Meshes, and Text objects do their own batching and do not affect automatic batching of other draws, aside from flushing the current batch when they're drawn.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.flushBatch","namespace":"love.graphics","name":"flushBatch"}},"love.graphics.getColorMask":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getColorMask","description":"Gets the active color components used when drawing. Normally all 4 components are active unless love.graphics.setColorMask has been used.\n\nThe color mask determines whether individual components of the colors of drawn objects will affect the color of the screen. They affect love.graphics.clear and Canvas:clear as well.","returns":[{"name":"r","description":"Whether the red color component is active when rendering.","type":"boolean"},{"name":"g","description":"Whether the green color component is active when rendering.","type":"boolean"},{"name":"b","description":"Whether the blue color component is active when rendering.","type":"boolean"},{"name":"a","description":"Whether the alpha color component is active when rendering.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getColorMask","namespace":"love.graphics","name":"getColorMask"}},"love.audio.newQueueableSource":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_newQueueableSource","arguments":[{"name":"samplerate","description":"Number of samples per second when playing.","type":"number"},{"name":"bitdepth","description":"Bits per sample (8 or 16).","type":"number"},{"name":"channels","description":"1 for mono or 2 for stereo.","type":"number"},{"name":"buffercount","default":"0","description":"The number of buffers that can be queued up at any given time with Source:queue. Cannot be greater than 64. A sensible default (~8) is chosen if no value is specified.","type":"number"}],"description":"Creates a new Source usable for real-time generated sound playback with Source:queue.","returns":[{"name":"source","description":"The new Source usable with Source:queue.","type":"Source"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.newQueueableSource","namespace":"love.audio","name":"newQueueableSource"}},"love.filesystem.getIdentity":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_getIdentity","description":"Gets the write directory name for your game. \n\nNote that this only returns the name of the folder to store your files in, not the full path.","returns":[{"name":"name","description":"The identity that is used as write directory.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.getIdentity","namespace":"love.filesystem","name":"getIdentity"}},"love.audio.getEffect":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_getEffect","arguments":[{"name":"name","description":"The name of the effect.","type":"string"}],"description":"Gets the settings associated with an effect.","returns":[{"name":"settings","description":"The settings associated with the effect.","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.getEffect","namespace":"love.audio","name":"getEffect"}},"love.window.showMessageBox":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_showMessageBox","arguments":[{"name":"title","description":"The title of the message box.","type":"string"},{"name":"message","description":"The text inside the message box.","type":"string"},{"name":"type","default":"'info'","description":"The type of the message box.","type":"MessageBoxType"},{"name":"attachtowindow","default":"true","description":"Whether the message box should be attached to the love window or free-floating.","type":"boolean"}],"description":"Displays a message box dialog above the love window. The message box contains a title, optional text, and buttons.","returns":[{"name":"success","description":"Whether the message box was successfully displayed.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.showMessageBox","namespace":"love.window","name":"showMessageBox"}},"love.joystick.saveGamepadMappings":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#joystick_saveGamepadMappings","arguments":[{"name":"filename","description":"The filename to save the mappings string to.","type":"string"}],"description":"Saves the virtual gamepad mappings of all recognized as gamepads and have either been recently used or their gamepad bindings have been modified.\n\nThe mappings are stored as a string for use with love.joystick.loadGamepadMappings.","returns":[{"name":"mappings","description":"The mappings string that was written to the file.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.joystick.saveGamepadMappings","namespace":"love.joystick","name":"saveGamepadMappings"}},"love.graphics.reset":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_reset","description":"Resets the current graphics settings.\n\nCalling reset makes the current drawing color white, the current background color black, disables any active color component masks, disables wireframe mode and resets the current graphics transformation to the origin. It also sets both the point and line drawing modes to smooth and their sizes to 1.0.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.reset","namespace":"love.graphics","name":"reset"}},"love.window.setIcon":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_setIcon","arguments":[{"name":"imagedata","description":"The window icon image.","type":"ImageData"}],"description":"Sets the window icon until the game is quit. Not all operating systems support very large icon images.","returns":[{"name":"success","description":"Whether the icon has been set successfully.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.setIcon","namespace":"love.window","name":"setIcon"}},"love.window.isDisplaySleepEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_isDisplaySleepEnabled","description":"Gets whether the display is allowed to sleep while the program is running.\n\nDisplay sleep is disabled by default. Some types of input (e.g. joystick button presses) might not prevent the display from sleeping, if display sleep is allowed.","returns":[{"name":"enabled","description":"True if system display sleep is enabled / allowed, false otherwise.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.isDisplaySleepEnabled","namespace":"love.window","name":"isDisplaySleepEnabled"}},"love.data.ByteData":{"meta":{"name":"ByteData","supertypes":["Object","Data"],"wiki_link":"https://love2d.org/wiki/ByteData","constructors":["newByteData"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_ByteData","namespace":"love.data","description":"Data object containing arbitrary bytes in an contiguous memory.\n\nThere are currently no LÖVE functions provided for manipulating the contents of a ByteData, but Data:getPointer can be used with LuaJIT's FFI to access and write to the contents directly."}},"love.graphics.getDPIScale":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getDPIScale","description":"Gets the DPI scale factor of the window.\n\nThe DPI scale factor represents relative pixel density. The pixel density inside the window might be greater (or smaller) than the 'size' of the window. For example on a retina screen in Mac OS X with the highdpi window flag enabled, the window may take up the same physical size as an 800x600 window, but the area inside the window uses 1600x1200 pixels. love.graphics.getDPIScale() would return 2 in that case.\n\nThe love.window.fromPixels and love.window.toPixels functions can also be used to convert between units.\n\nThe highdpi window flag must be enabled to use the full pixel density of a Retina screen on Mac OS X and iOS. The flag currently does nothing on Windows and Linux, and on Android it is effectively always enabled.","returns":[{"name":"scale","description":"The pixel scale factor associated with the window.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getDPIScale","namespace":"love.graphics","name":"getDPIScale"}},"love.graphics.Image":{"meta":{"name":"Image","supertypes":["Texture","Drawable","Object"],"wiki_link":"https://love2d.org/wiki/Image","constructors":["newImage","newVolumeImage","newCubeImage","newArrayImage"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Image","namespace":"love.graphics","description":"Drawable image type."}},"love.filesystem.setSource":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_setSource","arguments":[{"name":"path","description":"Absolute path to the game's source folder.","type":"string"}],"description":"Sets the source of the game, where the code is present. This function can only be called once, and is normally automatically done by LÖVE.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.setSource","namespace":"love.filesystem","name":"setSource"}},"love.graphics.draw":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_draw","arguments":[{"name":"drawable","description":"A drawable object.","type":"Drawable"},{"name":"x","default":"0","description":"The position to draw the object (x-axis).","type":"number"},{"name":"y","default":"0","description":"The position to draw the object (y-axis).","type":"number"},{"name":"r","default":"0","description":"Orientation (radians).","type":"number"},{"name":"sx","default":"1","description":"Scale factor (x-axis).","type":"number"},{"name":"sy","default":"sx","description":"Scale factor (y-axis).","type":"number"},{"name":"ox","default":"0","description":"Origin offset (x-axis).","type":"number"},{"name":"oy","default":"0","description":"Origin offset (y-axis).","type":"number"},{"name":"kx","default":"0","description":"Shearing factor (x-axis).","type":"number"},{"name":"ky","default":"0","description":"Shearing factor (y-axis).","type":"number"}],"description":"Draws a Drawable object (an Image, Canvas, SpriteBatch, ParticleSystem, Mesh, Text object, or Video) on the screen with optional rotation, scaling and shearing.\n\nObjects are drawn relative to their local coordinate system. The origin is by default located at the top left corner of Image and Canvas. All scaling, shearing, and rotation arguments transform the object relative to that point. Also, the position of the origin can be specified on the screen coordinate system.\n\nIt's possible to rotate an object about its center by offsetting the origin to the center. Angles must be given in radians for rotation. One can also use a negative scaling factor to flip about its centerline. \n\nNote that the offsets are applied before rotation, scaling, or shearing; scaling and shearing are applied before rotation.\n\nThe right and bottom edges of the object are shifted at an angle defined by the shearing factors.\n\nWhen using the default shader anything drawn with this function will be tinted according to the currently selected color. Set it to pure white to preserve the object's original colors.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.draw","namespace":"love.graphics","name":"draw"}},"love.graphics.getTextureTypes":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getTextureTypes","description":"Gets the available texture types, and whether each is supported.","returns":[{"name":"texturetypes","description":"A table containing TextureTypes as keys, and a boolean indicating whether the type is supported as values. Not all systems support all types.","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getTextureTypes","namespace":"love.graphics","name":"getTextureTypes"}},"love.keyboard.getKeyFromScancode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#keyboard_getKeyFromScancode","arguments":[{"name":"scancode","description":"The scancode to get the key from.","type":"Scancode"}],"description":"Gets the key corresponding to the given hardware scancode.\n\nUnlike key constants, Scancodes are keyboard layout-independent. For example the scancode 'w' will be generated if the key in the same place as the 'w' key on an American keyboard is pressed, no matter what the key is labelled or what the user's operating system settings are.\n\nScancodes are useful for creating default controls that have the same physical locations on on all systems.","returns":[{"name":"key","description":"The key corresponding to the given scancode, or 'unknown' if the scancode doesn't map to a KeyConstant on the current system.","type":"KeyConstant"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.keyboard.getKeyFromScancode","namespace":"love.keyboard","name":"getKeyFromScancode"}},"love.audio.getOrientation":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_getOrientation","description":"Returns the orientation of the listener.","returns":[{"name":"fx, fy, fz","description":"Forward vector of the listener orientation.","type":"number"},{"name":"ux, uy, uz","description":"Up vector of the listener orientation.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.getOrientation","namespace":"love.audio","name":"getOrientation"}},"love.filesystem.getSourceBaseDirectory":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_getSourceBaseDirectory","description":"Returns the full path to the directory containing the .love file. If the game is fused to the LÖVE executable, then the directory containing the executable is returned.\n\nIf love.filesystem.isFused is true, the path returned by this function can be passed to love.filesystem.mount, which will make the directory containing the main game (e.g. C:\\Program Files\\coolgame\\) readable by love.filesystem.","returns":[{"name":"path","description":"The full platform-dependent path of the directory containing the .love file.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.getSourceBaseDirectory","namespace":"love.filesystem","name":"getSourceBaseDirectory"}},"love.event.quit":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#event_quit","arguments":[{"name":"exitstatus","default":"0","description":"The program exit status to use when closing the application.","type":"number"}],"description":"Adds the quit event to the queue.\n\nThe quit event is a signal for the event handler to close LÖVE. It's possible to abort the exit process with the love.quit callback.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.event.quit","namespace":"love.event","name":"quit"}},"love.audio.getRecordingDevices":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_getRecordingDevices","description":"Gets a list of RecordingDevices on the system.\n\nThe first device in the list is the user's default recording device. The list may be empty if there are no microphones connected to the system.\n\nAudio recording is currently not supported on iOS.","returns":[{"name":"devices","description":"The list of connected recording devices.","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.getRecordingDevices","namespace":"love.audio","name":"getRecordingDevices"}},"love.event.clear":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#event_clear","description":"Clears the event queue.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.event.clear","namespace":"love.event","name":"clear"}},"love.filesystem.setRequirePath":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_setRequirePath","arguments":[{"name":"paths","description":"The paths that the ''require'' function will check in love's filesystem.","type":"string"}],"description":"Sets the filesystem paths that will be searched when require is called.\n\nThe paths string given to this function is a sequence of path templates separated by semicolons. The argument passed to ''require'' will be inserted in place of any question mark ('?') character in each template (after the dot characters in the argument passed to ''require'' are replaced by directory separators.)\n\nThe paths are relative to the game's source and save directories, as well as any paths mounted with love.filesystem.mount.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.setRequirePath","namespace":"love.filesystem","name":"setRequirePath"}},"love.image.CompressedImageData":{"meta":{"name":"CompressedImageData","supertypes":["Data","Object"],"wiki_link":"https://love2d.org/wiki/CompressedImageData","constructors":["newCompressedData"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_CompressedImageData","namespace":"love.image","description":"Represents compressed image data designed to stay compressed in RAM.\n\nCompressedImageData encompasses standard compressed texture formats such as DXT1, DXT5, and BC5 / 3Dc.\n\nYou can't draw CompressedImageData directly to the screen. See Image for that."}},"love.graphics.intersectScissor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_intersectScissor","arguments":[{"name":"x","description":"The x-coordinate of the upper left corner of the rectangle to intersect with the existing scissor rectangle.","type":"number"},{"name":"y","description":"The y-coordinate of the upper left corner of the rectangle to intersect with the existing scissor rectangle.","type":"number"},{"name":"width","description":"The width of the rectangle to intersect with the existing scissor rectangle.","type":"number"},{"name":"height","description":"The height of the rectangle to intersect with the existing scissor rectangle.","type":"number"}],"description":"Sets the scissor to the rectangle created by the intersection of the specified rectangle with the existing scissor. If no scissor is active yet, it behaves like love.graphics.setScissor.\n\nThe scissor limits the drawing area to a specified rectangle. This affects all graphics calls, including love.graphics.clear.\n\nThe dimensions of the scissor is unaffected by graphical transformations (translate, scale, ...).","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.intersectScissor","namespace":"love.graphics","name":"intersectScissor"}},"love.graphics.newVolumeImage":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_newVolumeImage","arguments":[{"name":"layers","description":"A table containing filepaths to images (or File, FileData, ImageData, or CompressedImageData objects), in an array. A table of tables can also be given, where each sub-table represents a single mipmap level and contains all layers for that mipmap.","type":"table"},{"default":"nil","name":"settings","table":[{"name":"mipmaps","default":"false","description":"True to make the image use mipmaps, false to disable them. Mipmaps will be automatically generated if the image isn't a compressed texture format.","type":"boolean"},{"name":"linear","default":"false","description":"True to treat the image's pixels as linear instead of sRGB, when gamma correct rendering is enabled. Most images are authored as sRGB.","type":"boolean"}],"description":"Optional table of settings to configure the volume image, containing the following fields:","type":"table"}],"description":"Creates a new volume (3D) Image.\n\nVolume images are 3D textures with width, height, and depth. They can't be rendered directly, they can only be used in Shader code (and sent to the shader via Shader:send).\n\nTo use a volume image in a Shader, it must be declared as a VolumeImage or sampler3D type (instead of Image or sampler2D). The Texel(VolumeImage image, vec3 texcoords) shader function must be used to get pixel colors from the volume image. The vec3 argument is a normalized texture coordinate with the z component representing the depth to sample at (ranging from 1).\n\nVolume images are typically used as lookup tables in shaders for color grading, for example, because sampling using a texture coordinate that is partway in between two pixels can interpolate across all 3 dimensions in the volume image, resulting in a smooth gradient even when a small-sized volume image is used as the lookup table.\n\nArray images are a much better choice than volume images for storing multiple different sprites in a single array image for directly drawing them.","returns":[{"name":"image","description":"A volume Image object.","type":"Image"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.newVolumeImage","namespace":"love.graphics","name":"newVolumeImage"}},"love.window.updateMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_updateMode","arguments":[{"name":"width","description":"Window width.","type":"number"},{"name":"height","description":"Window height.","type":"number"},{"name":"settings","table":[{"name":"fullscreen","description":"Fullscreen (true), or windowed (false).","type":"boolean"},{"name":"fullscreentype","description":"The type of fullscreen to use.","type":"FullscreenType"},{"name":"vsync","description":"True if LÖVE should wait for vsync, false otherwise.","type":"boolean"},{"name":"msaa","description":"The number of antialiasing samples.","type":"number"},{"name":"resizable","description":"True if the window should be resizable in windowed mode, false otherwise.","type":"boolean"},{"name":"borderless","description":"True if the window should be borderless in windowed mode, false otherwise.","type":"boolean"},{"name":"centered","description":"True if the window should be centered in windowed mode, false otherwise.","type":"boolean"},{"name":"display","description":"The index of the display to show the window in, if multiple monitors are available.","type":"number"},{"name":"minwidth","description":"The minimum width of the window, if it's resizable. Cannot be less than 1.","type":"number"},{"name":"minheight","description":"The minimum height of the window, if it's resizable. Cannot be less than 1.","type":"number"},{"name":"highdpi","description":"True if high-dpi mode should be used on Retina displays in macOS and iOS. Does nothing on non-Retina displays.","type":"boolean"},{"name":"x","description":"The x-coordinate of the window's position in the specified display.","type":"number"},{"name":"y","description":"The y-coordinate of the window's position in the specified display.","type":"number"}],"description":"The settings table with the following optional fields. Any field not filled in will use the current value that would be returned by love.window.getMode.","type":"table"}],"description":"Sets the display mode and properties of the window, without modifying unspecified properties.\n\nIf width or height is 0, updateMode will use the width and height of the desktop. \n\nChanging the display mode may have side effects: for example, canvases will be cleared. Make sure to save the contents of canvases beforehand or re-draw to them afterward if you need to.","returns":[{"name":"success","description":"True if successful, false otherwise.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.updateMode","namespace":"love.window","name":"updateMode"}},"love.physics.newDistanceJoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newDistanceJoint","arguments":[{"name":"body1","description":"The first body to attach to the joint.","type":"Body"},{"name":"body2","description":"The second body to attach to the joint.","type":"Body"},{"name":"x1","description":"The x position of the first anchor point (world space).","type":"number"},{"name":"y1","description":"The y position of the first anchor point (world space).","type":"number"},{"name":"x2","description":"The x position of the second anchor point (world space).","type":"number"},{"name":"y2","description":"The y position of the second anchor point (world space).","type":"number"},{"name":"collideConnected","default":"false","description":"Specifies whether the two bodies should collide with each other.","type":"boolean"}],"description":"Creates a DistanceJoint between two bodies.\n\nThis joint constrains the distance between two points on two bodies to be constant. These two points are specified in world coordinates and the two bodies are assumed to be in place when this joint is created. The first anchor point is connected to the first body and the second to the second body, and the points define the length of the distance joint.","returns":[{"name":"joint","description":"The new distance joint.","type":"DistanceJoint"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newDistanceJoint","namespace":"love.physics","name":"newDistanceJoint"}},"love.window.toPixels":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_toPixels","arguments":[{"name":"value","description":"A number in density-independent units to convert to pixels.","type":"number"}],"description":"Converts a number from density-independent units to pixels.\n\nThe pixel density inside the window might be greater (or smaller) than the 'size' of the window. For example on a retina screen in Mac OS X with the highdpi window flag enabled, the window may take up the same physical size as an 800x600 window, but the area inside the window uses 1600x1200 pixels. love.window.toPixels(800) would return 1600 in that case.\n\nThis is used to convert coordinates from the size users are expecting them to display at onscreen to pixels. love.window.fromPixels does the opposite. The highdpi window flag must be enabled to use the full pixel density of a Retina screen on Mac OS X and iOS. The flag currently does nothing on Windows and Linux, and on Android it is effectively always enabled.\n\nMost LÖVE functions return values and expect arguments in terms of pixels rather than density-independent units.","returns":[{"name":"pixelvalue","description":"The converted number, in pixels.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.toPixels","namespace":"love.window","name":"toPixels"}},"love.audio.getMaxSceneEffects":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_getMaxSceneEffects","description":"Gets the maximum number of active effects supported by the system.","returns":[{"name":"maximum","description":"The maximum number of active effects.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.getMaxSceneEffects","namespace":"love.audio","name":"getMaxSceneEffects"}},"love.filesystem.unmount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_unmount","arguments":[{"name":"archive","description":"The folder or zip file in the game's save directory which is currently mounted.","type":"string"}],"description":"Unmounts a zip file or folder previously mounted for reading with love.filesystem.mount.","returns":[{"name":"success","description":"True if the archive was successfully unmounted, false otherwise.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.unmount","namespace":"love.filesystem","name":"unmount"}},"love.window.setVSync":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_setVSync","arguments":[{"name":"vsync","description":"VSync number: 1 to enable, 0 to disable, and -1 for adaptive vsync.","type":"number"}],"description":"Sets vertical synchronization mode.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.setVSync","namespace":"love.window","name":"setVSync"}},"love.window.setTitle":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_setTitle","arguments":[{"name":"title","description":"The new window title.","type":"string"}],"description":"Sets the window title.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.setTitle","namespace":"love.window","name":"setTitle"}},"love.graphics.newImageFont":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_newImageFont","arguments":[{"name":"filename","description":"The filepath to the image file.","type":"string"},{"name":"glyphs","description":"A string of the characters in the image in order from left to right.","type":"string"}],"description":"Creates a new specifically formatted image.\n\nIn versions prior to 0.9.0, LÖVE expects ISO 8859-1 encoding for the glyphs string.","returns":[{"name":"font","description":"A Font object which can be used to draw text on screen.","type":"Font"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.newImageFont","namespace":"love.graphics","name":"newImageFont"}},"love.graphics.getRendererInfo":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getRendererInfo","description":"Gets information about the system's video card and drivers.","returns":[{"name":"name","description":"The name of the renderer, e.g. 'OpenGL' or 'OpenGL ES'.","type":"string"},{"name":"version","description":"The version of the renderer with some extra driver-dependent version info, e.g. '2.1 INTEL-8.10.44'.","type":"string"},{"name":"vendor","description":"The name of the graphics card vendor, e.g. 'Intel Inc'. ","type":"string"},{"name":"device","description":"The name of the graphics card, e.g. 'Intel HD Graphics 3000 OpenGL Engine'.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getRendererInfo","namespace":"love.graphics","name":"getRendererInfo"}},"love.graphics.polygon":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_polygon","arguments":[{"name":"mode","description":"How to draw the polygon.","type":"DrawMode"},{"name":"...","description":"The vertices of the polygon.","type":"number"}],"description":"Draw a polygon.\n\nFollowing the mode argument, this function can accept multiple numeric arguments or a single table of numeric arguments. In either case the arguments are interpreted as alternating x and y coordinates of the polygon's vertices.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.polygon","namespace":"love.graphics","name":"polygon"}},"love.audio.getVelocity":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_getVelocity","description":"Returns the velocity of the listener.","returns":[{"name":"x","description":"The X velocity of the listener.","type":"number"},{"name":"y","description":"The Y velocity of the listener.","type":"number"},{"name":"z","description":"The Z velocity of the listener.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.getVelocity","namespace":"love.audio","name":"getVelocity"}},"love.window.setDisplaySleepEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_setDisplaySleepEnabled","arguments":[{"name":"enable","description":"True to enable system display sleep, false to disable it.","type":"boolean"}],"description":"Sets whether the display is allowed to sleep while the program is running.\n\nDisplay sleep is disabled by default. Some types of input (e.g. joystick button presses) might not prevent the display from sleeping, if display sleep is allowed.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.setDisplaySleepEnabled","namespace":"love.window","name":"setDisplaySleepEnabled"}},"love.window.minimize":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_minimize","description":"Minimizes the window to the system's task bar / dock.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.minimize","namespace":"love.window","name":"minimize"}},"love.window.requestAttention":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_requestAttention","arguments":[{"name":"continuous","default":"false","description":"Whether to continuously request attention until the window becomes active, or to do it only once.","type":"boolean"}],"description":"Causes the window to request the attention of the user if it is not in the foreground.\n\nIn Windows the taskbar icon will flash, and in OS X the dock icon will bounce.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.requestAttention","namespace":"love.window","name":"requestAttention"}},"love.graphics.getPixelHeight":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getPixelHeight","description":"Gets the height in pixels of the window.\n\nThe graphics coordinate system and DPI scale factor, rather than raw pixels. Use getHeight for calculations related to drawing to the screen and using the coordinate system (calculating the center of the screen, for example), and getPixelHeight only when dealing specifically with underlying pixels (pixel-related calculations in a pixel Shader, for example).","returns":[{"name":"pixelheight","description":"The height of the window in pixels.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getPixelHeight","namespace":"love.graphics","name":"getPixelHeight"}},"love.window.maximize":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_maximize","description":"Makes the window as large as possible.\n\nThis function has no effect if the window isn't resizable, since it essentially programmatically presses the window's 'maximize' button.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.maximize","namespace":"love.window","name":"maximize"}},"love.audio.Source":{"meta":{"name":"Source","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Source","constructors":["newQueueableSource","newSource"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Source","namespace":"love.audio","description":"A Source represents audio you can play back.\n\nYou can do interesting things with Sources, like set the volume, pitch, and its position relative to the listener. Please note that positional audio only works for mono (i.e. non-stereo) sources.\n\nThe Source controls (play/pause/stop) act according to the following state table."}},"love.font.GlyphData":{"meta":{"supertypes":["Data","Object"],"wiki_link":"https://love2d.org/wiki/GlyphData","name":"GlyphData","prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_GlyphData","namespace":"love.font","description":"A GlyphData represents a drawable symbol of a font Rasterizer."}},"love.window.isMinimized":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_isMinimized","description":"Gets whether the Window is currently minimized.","returns":[{"name":"minimized","description":"True if the window is currently minimized, false otherwise.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.isMinimized","namespace":"love.window","name":"isMinimized"}},"love.graphics.setLineWidth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setLineWidth","arguments":[{"name":"width","description":"The width of the line.","type":"number"}],"description":"Sets the line width.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setLineWidth","namespace":"love.graphics","name":"setLineWidth"}},"love.physics.Joint":{"meta":{"supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Joint","name":"Joint","prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Joint","namespace":"love.physics","description":"Attach multiple bodies together to interact in unique ways."}},"love.window.isMaximized":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_isMaximized","description":"Gets whether the Window is currently maximized.\n\nThe window can be maximized if it is not fullscreen and is resizable, and either the user has pressed the window's Maximize button or love.window.maximize has been called.","returns":[{"name":"maximized","description":"True if the window is currently maximized in windowed mode, false otherwise.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.isMaximized","namespace":"love.window","name":"isMaximized"}},"love.filesystem.read":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_read","arguments":[{"name":"name","description":"The name (and path) of the file.","type":"string"},{"name":"size","default":"all","description":"How many bytes to read.","type":"number"}],"description":"Read the contents of a file.","returns":[{"name":"contents","description":"The file contents.","type":"string"},{"name":"size","description":"How many bytes have been read.","type":"number"},{"name":"contents","description":"returns nil as content.","type":"nil"},{"name":"error","description":"returns an error message.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.read","namespace":"love.filesystem","name":"read"}},"love.window.hasMouseFocus":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_hasMouseFocus","description":"Checks if the game window has mouse focus.","returns":[{"name":"focus","description":"True if the window has mouse focus or false if not.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.hasMouseFocus","namespace":"love.window","name":"hasMouseFocus"}},"love.audio.setMixWithSystem":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_setMixWithSystem","arguments":[{"name":"mix","description":"True to enable mixing, false to disable it.","type":"boolean"}],"description":"Sets whether the system should mix the audio with the system's audio.","returns":[{"name":"success","description":"True if the change succeeded, false otherwise.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.setMixWithSystem","namespace":"love.audio","name":"setMixWithSystem"}},"love.physics.PolygonShape":{"meta":{"name":"PolygonShape","supertypes":["Shape","Object"],"wiki_link":"https://love2d.org/wiki/PolygonShape","constructors":["newPolygonShape","newRectangleShape"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_PolygonShape","namespace":"love.physics","description":"A PolygonShape is a convex polygon with up to 8 vertices."}},"love.graphics.getStencilTest":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getStencilTest","description":"Gets the current stencil test configuration.\n\nWhen stencil testing is enabled, the geometry of everything that is drawn afterward will be clipped / stencilled out based on a comparison between the arguments of this function and the stencil value of each pixel that the geometry touches. The stencil values of pixels are affected via love.graphics.stencil.\n\nEach Canvas has its own per-pixel stencil values.","returns":[{"name":"comparemode","description":"The type of comparison that is made for each pixel. Will be 'always' if stencil testing is disabled.","type":"CompareMode"},{"name":"comparevalue","description":"The value used when comparing with the stencil value of each pixel.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getStencilTest","namespace":"love.graphics","name":"getStencilTest"}},"love.window.hasFocus":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_hasFocus","description":"Checks if the game window has keyboard focus.","returns":[{"name":"focus","description":"True if the window has the focus or false if not.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.hasFocus","namespace":"love.window","name":"hasFocus"}},"love.filesystem.newFileData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_newFileData","arguments":[{"name":"contents","description":"The contents of the file.","type":"string"},{"name":"name","description":"The name of the file.","type":"string"}],"description":"Creates a new FileData object.","returns":[{"name":"data","description":"Your new FileData.","type":"FileData"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.newFileData","namespace":"love.filesystem","name":"newFileData"}},"love.window.getTitle":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_getTitle","description":"Gets the window title.","returns":[{"name":"title","description":"The current window title.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.getTitle","namespace":"love.window","name":"getTitle"}},"love.window.getSafeArea":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_getSafeArea","description":"Gets area inside the window which is known to be unobstructed by a system title bar, the iPhone X notch, etc. Useful for making sure UI elements can be seen by the user.","returns":[{"name":"x","description":"Starting position of safe area (x-axis).","type":"number"},{"name":"y","description":"Starting position of safe area (y-axis).","type":"number"},{"name":"w","description":"Width of safe area.","type":"number"},{"name":"h","description":"Height of safe area.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.getSafeArea","namespace":"love.window","name":"getSafeArea"}},"love.window.getPosition":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_getPosition","description":"Gets the position of the window on the screen.\n\nThe window position is in the coordinate space of the display it is currently in.","returns":[{"name":"x","description":"The x-coordinate of the window's position.","type":"number"},{"name":"y","description":"The y-coordinate of the window's position.","type":"number"},{"name":"display","description":"The index of the display that the window is in.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.getPosition","namespace":"love.window","name":"getPosition"}},"love.data.hash":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#data_hash","arguments":[{"name":"hashFunction","description":"Hash algorithm to use.","type":"HashFunction"},{"name":"string","description":"String to hash.","type":"string"}],"description":"Compute the message digest of a string using a specified hash algorithm.","returns":[{"name":"rawdigest","description":"Raw message digest string.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.data.hash","namespace":"love.data","name":"hash"}},"love.window.getIcon":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_getIcon","description":"Gets the window icon.","returns":[{"name":"imagedata","description":"The window icon imagedata, or nil if no icon has been set with love.window.setIcon.","type":"ImageData"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.getIcon","namespace":"love.window","name":"getIcon"}},"love.window.getFullscreenModes":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_getFullscreenModes","arguments":[{"name":"display","default":"1","description":"The index of the display, if multiple monitors are available.","type":"number"}],"description":"Gets a list of supported fullscreen modes.","returns":[{"name":"modes","description":"A table of width/height pairs. (Note that this may not be in order.)","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.getFullscreenModes","namespace":"love.window","name":"getFullscreenModes"}},"love.physics.Contact":{"meta":{"supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Contact","name":"Contact","prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Contact","namespace":"love.physics","description":"Contacts are objects created to manage collisions in worlds."}},"love.window.getDPIScale":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_getDPIScale","description":"Gets the DPI scale factor associated with the window.\n\nThe pixel density inside the window might be greater (or smaller) than the 'size' of the window. For example on a retina screen in Mac OS X with the highdpi window flag enabled, the window may take up the same physical size as an 800x600 window, but the area inside the window uses 1600x1200 pixels. love.window.getDPIScale() would return 2.0 in that case.\n\nThe love.window.fromPixels and love.window.toPixels functions can also be used to convert between units.\n\nThe highdpi window flag must be enabled to use the full pixel density of a Retina screen on Mac OS X and iOS. The flag currently does nothing on Windows and Linux, and on Android it is effectively always enabled.","returns":[{"name":"scale","description":"The pixel scale factor associated with the window.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.getDPIScale","namespace":"love.window","name":"getDPIScale"}},"love.data.compress":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#data_compress","arguments":[{"name":"container","description":"What type to return the compressed data as.","type":"ContainerType"},{"name":"format","description":"The format to use when compressing the string.","type":"CompressedDataFormat"},{"name":"rawstring","description":"The raw (un-compressed) string to compress.","type":"string"},{"name":"level","default":"-1","description":"The level of compression to use, between 0 and 9. -1 indicates the default level. The meaning of this argument depends on the compression format being used.","type":"number"}],"description":"Compresses a string or data using a specific compression algorithm.","returns":[{"name":"compressedData","description":"CompressedData/string which contains the compressed version of rawstring.","type":"CompressedData or string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.data.compress","namespace":"love.data","name":"compress"}},"love.graphics.shear":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_shear","arguments":[{"name":"kx","description":"The shear factor on the x-axis.","type":"number"},{"name":"ky","description":"The shear factor on the y-axis.","type":"number"}],"description":"Shears the coordinate system.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.shear","namespace":"love.graphics","name":"shear"}},"love.graphics.newImage":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_newImage","arguments":[{"name":"filename","description":"The filepath to the image file.","type":"string"}],"description":"Creates a new Image from a filepath, FileData, an ImageData, or a CompressedImageData, and optionally generates or specifies mipmaps for the image.","returns":[{"name":"image","description":"An Image object which can be drawn on screen.","type":"Image"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.newImage","namespace":"love.graphics","name":"newImage"}},"love.graphics.setShader":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setShader","arguments":[{"name":"shader","description":"The new shader.","type":"Shader"}],"description":"Sets or resets a Shader as the current pixel effect or vertex shaders. All drawing operations until the next ''love.graphics.setShader'' will be drawn using the Shader object specified.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setShader","namespace":"love.graphics","name":"setShader"}},"love.physics.newMotorJoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newMotorJoint","arguments":[{"name":"body1","description":"The first body to attach to the joint.","type":"Body"},{"name":"body2","description":"The second body to attach to the joint.","type":"Body"},{"name":"correctionFactor","default":"0.3","description":"The joint's initial position correction factor, in the range of 1.","type":"number"}],"description":"Creates a joint between two bodies which controls the relative motion between them.\n\nPosition and rotation offsets can be specified once the MotorJoint has been created, as well as the maximum motor force and torque that will be be applied to reach the target offsets.","returns":[{"name":"joint","description":"The new MotorJoint.","type":"MotorJoint"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newMotorJoint","namespace":"love.physics","name":"newMotorJoint"}},"love.window.close":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_close","description":"Closes the window. It can be reopened with love.window.setMode.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.close","namespace":"love.window","name":"close"}},"love.video.VideoStream":{"meta":{"name":"VideoStream","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/VideoStream","constructors":["newVideoStream"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_VideoStream","namespace":"love.video","description":"An object which decodes, streams, and controls Videos."}},"love.audio.pause":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_pause","description":"Pauses specific or all currently played Sources.","returns":[{"name":"Sources","description":"A table containing a list of Sources that were paused by this call.","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.pause","namespace":"love.audio","name":"pause"}},"love.touch.getPressure":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#touch_getPressure","arguments":[{"name":"id","description":"The identifier of the touch-press. Use love.touch.getTouches, love.touchpressed, or love.touchmoved to obtain touch id values.","type":"light userdata"}],"description":"Gets the current pressure of the specified touch-press.","returns":[{"name":"pressure","description":"The pressure of the touch-press. Most touch screens aren't pressure sensitive, in which case the pressure will be 1.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.touch.getPressure","namespace":"love.touch","name":"getPressure"}},"love.touch.getPosition":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#touch_getPosition","arguments":[{"name":"id","description":"The identifier of the touch-press. Use love.touch.getTouches, love.touchpressed, or love.touchmoved to obtain touch id values.","type":"light userdata"}],"description":"Gets the current position of the specified touch-press, in pixels.","returns":[{"name":"x","description":"The position along the x-axis of the touch-press inside the window, in pixels.","type":"number"},{"name":"y","description":"The position along the y-axis of the touch-press inside the window, in pixels.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.touch.getPosition","namespace":"love.touch","name":"getPosition"}},"love.timer.step":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#timer_step","description":"Measures the time between two frames.\n\nCalling this changes the return value of love.timer.getDelta.","returns":[{"name":"dt","description":"The time passed (in seconds).","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.timer.step","namespace":"love.timer","name":"step"}},"love.image.isCompressed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#image_isCompressed","arguments":[{"name":"filename","description":"The filename of the potentially compressed image file.","type":"string"}],"description":"Determines whether a file can be loaded as CompressedImageData.","returns":[{"name":"compressed","description":"Whether the file can be loaded as CompressedImageData or not.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.image.isCompressed","namespace":"love.image","name":"isCompressed"}},"love.timer.sleep":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#timer_sleep","arguments":[{"name":"s","description":"Seconds to sleep for.","type":"number"}],"description":"Pauses the current thread for the specified amount of time.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.timer.sleep","namespace":"love.timer","name":"sleep"}},"love.timer.getTime":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#timer_getTime","description":"Returns the value of a timer with an unspecified starting time.\n\nThis function should only be used to calculate differences between points in time, as the starting time of the timer is unknown.","returns":[{"name":"time","description":"The time in seconds. Given as a decimal, accurate to the microsecond.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.timer.getTime","namespace":"love.timer","name":"getTime"}},"love.graphics.translate":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_translate","arguments":[{"name":"dx","description":"The translation relative to the x-axis.","type":"number"},{"name":"dy","description":"The translation relative to the y-axis.","type":"number"}],"description":"Translates the coordinate system in two dimensions.\n\nWhen this function is called with two numbers, dx, and dy, all the following drawing operations take effect as if their x and y coordinates were x+dx and y+dy. \n\nScale and translate are not commutative operations, therefore, calling them in different orders will change the outcome.\n\nThis change lasts until love.draw() exits or else a love.graphics.pop reverts to a previous love.graphics.push.\n\nTranslating using whole numbers will prevent tearing/blurring of images and fonts draw after translating.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.translate","namespace":"love.graphics","name":"translate"}},"love.timer.getDelta":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#timer_getDelta","description":"Returns the time between the last two frames.","returns":[{"name":"dt","description":"The time passed (in seconds).","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.timer.getDelta","namespace":"love.timer","name":"getDelta"}},"love.graphics.getMeshCullMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getMeshCullMode","description":"Gets whether back-facing triangles in a Mesh are culled.\n\nMesh face culling is designed for use with low level custom hardware-accelerated 3D rendering via custom vertex attributes on Meshes, custom vertex shaders, and depth testing with a depth buffer.","returns":[{"name":"mode","description":"The Mesh face culling mode in use (whether to render everything, cull back-facing triangles, or cull front-facing triangles).","type":"CullMode"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getMeshCullMode","namespace":"love.graphics","name":"getMeshCullMode"}},"love.graphics.getStats":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getStats","description":"Gets performance-related rendering statistics. ","returns":[{"name":"stats","table":[{"name":"drawcalls","description":"The number of draw calls made so far during the current frame.","type":"number"},{"name":"canvasswitches","description":"The number of times the active Canvas has been switched so far during the current frame.","type":"number"},{"name":"texturememory","description":"The estimated total size in bytes of video memory used by all loaded Images, Canvases, and Fonts.","type":"number"},{"name":"images","description":"The number of Image objects currently loaded.","type":"number"},{"name":"canvases","description":"The number of Canvas objects currently loaded.","type":"number"},{"name":"fonts","description":"The number of Font objects currently loaded.","type":"number"},{"name":"shaderswitches","description":"The number of times the active Shader has been changed so far during the current frame.","type":"number"},{"name":"drawcallsbatched","description":"The number of draw calls that were saved by LÖVE's automatic batching, since the start of the frame.","type":"number"}],"description":"A table with the following fields:","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getStats","namespace":"love.graphics","name":"getStats"}},"love.math.setRandomState":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_setRandomState","arguments":[{"name":"state","description":"The new state of the random number generator, represented as a string. This should originate from a previous call to love.math.getRandomState.","type":"string"}],"description":"Sets the current state of the random number generator. The value used as an argument for this function is an opaque implementation-dependent string and should only originate from a previous call to love.math.getRandomState.\n\nThis is different from love.math.setRandomSeed in that setRandomState directly sets the random number generator's current implementation-dependent state, whereas setRandomSeed gives it a new seed value.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.setRandomState","namespace":"love.math","name":"setRandomState"}},"love.system.getPowerInfo":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#system_getPowerInfo","description":"Gets information about the system's power supply.","returns":[{"name":"state","description":"The basic state of the power supply.","type":"PowerState"},{"name":"percent","description":"Percentage of battery life left, between 0 and 100. nil if the value can't be determined or there's no battery.","type":"number"},{"name":"seconds","description":"Seconds of battery life left. nil if the value can't be determined or there's no battery.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.system.getPowerInfo","namespace":"love.system","name":"getPowerInfo"}},"love.graphics.Drawable":{"meta":{"supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Drawable","name":"Drawable","prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Drawable","namespace":"love.graphics","description":"Superclass for all things that can be drawn on screen. This is an abstract type that can't be created directly."}},"love.thread.Thread":{"meta":{"name":"Thread","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Thread","constructors":["newThread"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Thread","namespace":"love.thread","description":"A Thread is a chunk of code that can run in parallel with other threads. Data can be sent between different threads with Channel objects."}},"love.physics.FrictionJoint":{"meta":{"name":"FrictionJoint","supertypes":["Joint","Object"],"wiki_link":"https://love2d.org/wiki/FrictionJoint","constructors":["newFrictionJoint"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_FrictionJoint","namespace":"love.physics","description":"A FrictionJoint applies friction to a body."}},"love.math.compress":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_compress","arguments":[{"name":"rawstring","description":"The raw (un-compressed) string to compress.","type":"string"},{"name":"format","default":"'lz4'","description":"The format to use when compressing the string.","type":"CompressedDataFormat"},{"name":"level","default":"-1","description":"The level of compression to use, between 0 and 9. -1 indicates the default level. The meaning of this argument depends on the compression format being used.","type":"number"}],"description":"Compresses a string or data using a specific compression algorithm.","returns":[{"name":"compressedData","description":"A new Data object containing the compressed version of the string.","type":"CompressedData"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.compress","namespace":"love.math","name":"compress"}},"love.window.setMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_setMode","arguments":[{"name":"width","description":"Display width.","type":"number"},{"name":"height","description":"Display height.","type":"number"},{"name":"flags","table":[{"name":"fullscreen","default":"false","description":"Fullscreen (true), or windowed (false).","type":"boolean"},{"name":"fullscreentype","default":"'desktop'","description":"The type of fullscreen to use. This defaults to 'normal' in 0.9.0 through 0.9.2 and to 'desktop' in 0.10.0 and older.","type":"FullscreenType"},{"name":"vsync","default":"true","description":"True if LÖVE should wait for vsync, false otherwise.","type":"boolean"},{"name":"msaa","default":"0","description":"The number of antialiasing samples.","type":"number"},{"name":"stencil","default":"true","description":"Whether a stencil buffer should be allocated. If true, the stencil buffer will have 8 bits.","type":"boolean"},{"name":"depth","default":"0","description":"The number of bits in the depth buffer.","type":"number"},{"name":"resizable","default":"false","description":"True if the window should be resizable in windowed mode, false otherwise.","type":"boolean"},{"name":"borderless","default":"false","description":"True if the window should be borderless in windowed mode, false otherwise.","type":"boolean"},{"name":"centered","default":"true","description":"True if the window should be centered in windowed mode, false otherwise.","type":"boolean"},{"name":"display","default":"1","description":"The index of the display to show the window in, if multiple monitors are available.","type":"number"},{"name":"minwidth","default":"1","description":"The minimum width of the window, if it's resizable. Cannot be less than 1.","type":"number"},{"name":"minheight","default":"1","description":"The minimum height of the window, if it's resizable. Cannot be less than 1.","type":"number"},{"name":"highdpi","default":"false","description":"True if high-dpi mode should be used on Retina displays in macOS and iOS. Does nothing on non-Retina displays.","type":"boolean"},{"name":"x","default":"nil","description":"The x-coordinate of the window's position in the specified display.","type":"number"},{"name":"y","default":"nil","description":"The y-coordinate of the window's position in the specified display.","type":"number"},{"name":"usedpiscale","default":"true","description":"Disables automatic DPI scaling when false.","type":"boolean"},{"name":"srgb","default":"false","description":"Removed in 0.10.0 (set t.gammacorrect in conf.lua instead). True if sRGB gamma correction should be applied when drawing to the screen.","type":"boolean"}],"description":"The flags table with the options:","type":"table"}],"description":"Sets the display mode and properties of the window.\n\nIf width or height is 0, setMode will use the width and height of the desktop. \n\nChanging the display mode may have side effects: for example, canvases will be cleared and values sent to shaders with canvases beforehand or re-draw to them afterward if you need to.","returns":[{"name":"success","description":"True if successful, false otherwise.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.setMode","namespace":"love.window","name":"setMode"}},"love.thread.newThread":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#thread_newThread","arguments":[{"name":"filename","description":"The name of the Lua file to use as the source.","type":"string"}],"description":"Creates a new Thread from a filename, string or FileData object containing Lua code.","returns":[{"name":"thread","description":"A new Thread that has yet to be started.","type":"Thread"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.thread.newThread","namespace":"love.thread","name":"newThread"}},"love.audio.setOrientation":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_setOrientation","arguments":[{"name":"fx, fy, fz","description":"Forward vector of the listener orientation.","type":"number"},{"name":"ux, uy, uz","description":"Up vector of the listener orientation.","type":"number"}],"description":"Sets the orientation of the listener.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.setOrientation","namespace":"love.audio","name":"setOrientation"}},"love.sound.Decoder":{"meta":{"name":"Decoder","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Decoder","constructors":["newDecoder"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Decoder","namespace":"love.sound","description":"An object which can gradually decode a sound file."}},"love.system.vibrate":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#system_vibrate","arguments":[{"name":"seconds","default":"0.5","description":"The duration to vibrate for. If called on an iOS device, it will always vibrate for 0.5 seconds due to limitations in the iOS system APIs.","type":"number"}],"description":"Causes the device to vibrate, if possible. Currently this will only work on Android and iOS devices that have a built-in vibration motor.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.system.vibrate","namespace":"love.system","name":"vibrate"}},"love.system.setClipboardText":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#system_setClipboardText","arguments":[{"name":"text","description":"The new text to hold in the system's clipboard.","type":"string"}],"description":"Puts text in the clipboard.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.system.setClipboardText","namespace":"love.system","name":"setClipboardText"}},"love.thread.getChannel":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#thread_getChannel","arguments":[{"name":"name","description":"The name of the channel you want to create or retrieve.","type":"string"}],"description":"Creates or retrieves a named thread channel.","returns":[{"name":"channel","description":"The Channel object associated with the name.","type":"Channel"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.thread.getChannel","namespace":"love.thread","name":"getChannel"}},"love.system.hasBackgroundMusic":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#system_hasBackgroundMusic","description":"Gets whether another application on the system is playing music in the background.\n\nCurrently this is implemented on iOS and Android, and will always return false on other operating systems. The t.audio.mixwithsystem flag in love.conf can be used to configure whether background audio / music from other apps should play while LÖVE is open.","returns":[{"name":"backgroundmusic","description":"True if the user is playing music in the background via another app, false otherwise.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.system.hasBackgroundMusic","namespace":"love.system","name":"hasBackgroundMusic"}},"love.system.getProcessorCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#system_getProcessorCount","description":"Gets the amount of logical processor in the system.","returns":[{"name":"processorCount","description":"Amount of logical processors.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.system.getProcessorCount","namespace":"love.system","name":"getProcessorCount"}},"love.system.getOS":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#system_getOS","description":"Gets the current operating system. In general, LÖVE abstracts away the need to know the current operating system, but there are a few cases where it can be useful (especially in combination with os.execute.)","returns":[{"name":"osString","description":"The current operating system. 'OS X', 'Windows', 'Linux', 'Android' or 'iOS'.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.system.getOS","namespace":"love.system","name":"getOS"}},"love.graphics.ParticleSystem":{"meta":{"name":"ParticleSystem","supertypes":["Drawable","Object"],"wiki_link":"https://love2d.org/wiki/ParticleSystem","constructors":["newParticleSystem"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_ParticleSystem","namespace":"love.graphics","description":"A ParticleSystem can be used to create particle effects like fire or smoke.\n\nThe particle system has to be created using update it in the update callback to see any changes in the particles emitted.\n\nThe particle system won't create any particles unless you call setParticleLifetime and setEmissionRate."}},"love.system.getClipboardText":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#system_getClipboardText","description":"Gets text from the clipboard.","returns":[{"name":"text","description":"The text currently held in the system's clipboard.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.system.getClipboardText","namespace":"love.system","name":"getClipboardText"}},"love.mouse.setPosition":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_setPosition","arguments":[{"name":"x","description":"The new position of the mouse along the x-axis.","type":"number"},{"name":"y","description":"The new position of the mouse along the y-axis.","type":"number"}],"description":"Sets the current position of the mouse. Non-integer values are floored.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.setPosition","namespace":"love.mouse","name":"setPosition"}},"love.font.newImageRasterizer":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#font_newImageRasterizer","arguments":[{"name":"imageData","description":"Font image data.","type":"ImageData"},{"name":"glyphs","description":"String containing font glyphs.","type":"string"},{"name":"extraSpacing","default":"0","description":"Font extra spacing.","type":"number"},{"name":"dpiscale","default":"1","description":"Font DPI scale.","type":"number"}],"description":"Creates a new Image Rasterizer.","returns":[{"name":"rasterizer","description":"The rasterizer.","type":"Rasterizer"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.font.newImageRasterizer","namespace":"love.font","name":"newImageRasterizer"}},"love.graphics.setFrontFaceWinding":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setFrontFaceWinding","arguments":[{"name":"winding","description":"The winding mode to use. The default winding is counterclockwise ('ccw').","type":"VertexWinding"}],"description":"Sets whether triangles with clockwise- or counterclockwise-ordered vertices are considered front-facing.\n\nThis is designed for use in combination with Mesh face culling. Other love.graphics shapes, lines, and sprites are not guaranteed to have a specific winding order to their internal vertices.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setFrontFaceWinding","namespace":"love.graphics","name":"setFrontFaceWinding"}},"love.timer.getAverageDelta":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#timer_getAverageDelta","description":"Returns the average delta time (seconds per frame) over the last second.","returns":[{"name":"delta","description":"The average delta time over the last second.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.timer.getAverageDelta","namespace":"love.timer","name":"getAverageDelta"}},"love.filesystem.getRequirePath":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_getRequirePath","description":"Gets the filesystem paths that will be searched when require is called.\n\nThe paths string returned by this function is a sequence of path templates separated by semicolons. The argument passed to ''require'' will be inserted in place of any question mark ('?') character in each template (after the dot characters in the argument passed to ''require'' are replaced by directory separators.)\n\nThe paths are relative to the game's source and save directories, as well as any paths mounted with love.filesystem.mount.","returns":[{"name":"paths","description":"The paths that the ''require'' function will check in love's filesystem.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.getRequirePath","namespace":"love.filesystem","name":"getRequirePath"}},"love.audio.setVelocity":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_setVelocity","arguments":[{"name":"x","description":"The X velocity of the listener.","type":"number"},{"name":"y","description":"The Y velocity of the listener.","type":"number"},{"name":"z","description":"The Z velocity of the listener.","type":"number"}],"description":"Sets the velocity of the listener.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.setVelocity","namespace":"love.audio","name":"setVelocity"}},"love.sound.SoundData":{"meta":{"name":"SoundData","supertypes":["Data","Object"],"wiki_link":"https://love2d.org/wiki/SoundData","constructors":["newSoundData"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_SoundData","namespace":"love.sound","description":"Contains raw audio samples.\n\nYou can not play SoundData back directly. You must wrap a Source object around it."}},"love.window.getDisplayName":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_getDisplayName","arguments":[{"name":"displayindex","default":"1","description":"The index of the display to get the name of.","type":"number"}],"description":"Gets the name of a display.","returns":[{"name":"name","description":"The name of the specified display.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.getDisplayName","namespace":"love.window","name":"getDisplayName"}},"love.Object.typeOf":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Object_typeOf","arguments":[{"name":"name","description":"The name of the type to check for.","type":"string"}],"description":"Checks whether an object is of a certain type. If the object has the type with the specified name in its hierarchy, this function will return true.","returns":[{"name":"b","description":"True if the object is of the specified type, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Object:typeOf","namespace":"love.Object","name":"typeOf"}},"love.filesystem.newFile":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_newFile","arguments":[{"name":"filename","description":"The filename of the file.","type":"string"}],"description":"Creates a new File object. \n\nIt needs to be opened before it can be accessed.","returns":[{"name":"file","description":"The new File object.","type":"File"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.newFile","namespace":"love.filesystem","name":"newFile"}},"love.sound.newDecoder":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#sound_newDecoder","arguments":[{"name":"file","description":"The file with encoded sound data.","type":"File"},{"name":"buffer","default":"2048","description":"The size of each decoded chunk, in bytes.","type":"number"}],"description":"Attempts to find a decoder for the encoded sound data in the specified file.","returns":[{"name":"decoder","description":"A new Decoder object.","type":"Decoder"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.sound.newDecoder","namespace":"love.sound","name":"newDecoder"}},"love.graphics.newShader":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_newShader","arguments":[{"name":"code","description":"The pixel shader or vertex shader code, or a filename pointing to a file with the code.","type":"string"}],"description":"Creates a new Shader object for hardware-accelerated vertex and pixel effects. A Shader contains either vertex shader code, pixel shader code, or both.\n\nShaders are small programs which are run on the graphics card when drawing. Vertex shaders are run once for each vertex (for example, an image has 4 vertices - one at each corner. A Mesh might have many more.) Pixel shaders are run once for each pixel on the screen which the drawn object touches. Pixel shader code is executed after all the object's vertices have been processed by the vertex shader.","returns":[{"name":"shader","description":"A Shader object for use in drawing operations.","type":"Shader"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.newShader","namespace":"love.graphics","name":"newShader"}},"love.mouse.getRelativeMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_getRelativeMode","description":"Gets whether relative mode is enabled for the mouse.\n\nIf relative mode is enabled, the cursor is hidden and doesn't move when the mouse does, but relative mouse motion events are still generated via love.mousemoved. This lets the mouse move in any direction indefinitely without the cursor getting stuck at the edges of the screen.\n\nThe reported position of the mouse is not updated while relative mode is enabled, even when relative mouse motion events are generated.","returns":[{"name":"enabled","description":"True if relative mode is enabled, false if it's disabled.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.getRelativeMode","namespace":"love.mouse","name":"getRelativeMode"}},"love.audio.play":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_play","arguments":[{"name":"source","description":"The Source to play.","type":"Source"}],"description":"Plays the specified Source.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.play","namespace":"love.audio","name":"play"}},"love.filesystem.setCRequirePath":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_setCRequirePath","arguments":[{"name":"paths","description":"The paths that the ''require'' function will check in love's filesystem.","type":"string"}],"description":"Sets the filesystem paths that will be searched for c libraries when require is called.\n\nThe paths string returned by this function is a sequence of path templates separated by semicolons. The argument passed to ''require'' will be inserted in place of any question mark ('?') character in each template (after the dot characters in the argument passed to ''require'' are replaced by directory separators.) Additionally, any occurrence of a double question mark ('??') will be replaced by the name passed to require and the default library extension for the platform.\n\nThe paths are relative to the game's source and save directories, as well as any paths mounted with love.filesystem.mount.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.setCRequirePath","namespace":"love.filesystem","name":"setCRequirePath"}},"love.graphics.newSpriteBatch":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_newSpriteBatch","arguments":[{"name":"image","description":"The Image to use for the sprites.","type":"Image"},{"name":"maxsprites","default":"1000","description":"The maximum number of sprites that the SpriteBatch can contain at any given time. Since version 11.0, additional sprites added past this number will automatically grow the spritebatch.","type":"number"}],"description":"Creates a new SpriteBatch object.","returns":[{"name":"spriteBatch","description":"The new SpriteBatch.","type":"SpriteBatch"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.newSpriteBatch","namespace":"love.graphics","name":"newSpriteBatch"}},"love.graphics.arc":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_arc","arguments":[{"name":"drawmode","description":"How to draw the arc.","type":"DrawMode"},{"name":"x","description":"The position of the center along x-axis.","type":"number"},{"name":"y","description":"The position of the center along y-axis.","type":"number"},{"name":"radius","description":"Radius of the arc.","type":"number"},{"name":"angle1","description":"The angle at which the arc begins.","type":"number"},{"name":"angle2","description":"The angle at which the arc terminates.","type":"number"},{"name":"segments","default":"10","description":"The number of segments used for drawing the arc.","type":"number"}],"description":"Draws a filled or unfilled arc at position (x, y). The arc is drawn from angle1 to angle2 in radians. The segments parameter determines how many segments are used to draw the arc. The more segments, the smoother the edge.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.arc","namespace":"love.graphics","name":"arc"}},"love.graphics.line":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_line","arguments":[{"name":"x1","description":"The position of first point on the x-axis.","type":"number"},{"name":"y1","description":"The position of first point on the y-axis.","type":"number"},{"name":"x2","description":"The position of second point on the x-axis.","type":"number"},{"name":"y2","description":"The position of second point on the y-axis.","type":"number"},{"name":"...","description":"You can continue passing point positions to draw a polyline.","type":"number"}],"description":"Draws lines between points.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.line","namespace":"love.graphics","name":"line"}},"love.mouse.getX":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_getX","description":"Returns the current x-position of the mouse.","returns":[{"name":"x","description":"The position of the mouse along the x-axis.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.getX","namespace":"love.mouse","name":"getX"}},"love.physics.MotorJoint":{"meta":{"name":"MotorJoint","supertypes":["Joint","Object"],"wiki_link":"https://love2d.org/wiki/MotorJoint","constructors":["newMotorJoint"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_MotorJoint","namespace":"love.physics","description":"Controls the relative motion between two Bodies. Position and rotation offsets can be specified, as well as the maximum motor force and torque that will be applied to reach the target offsets."}},"love.keyboard.hasTextInput":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#keyboard_hasTextInput","description":"Gets whether text input events are enabled.","returns":[{"name":"enabled","description":"Whether text input events are enabled.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.keyboard.hasTextInput","namespace":"love.keyboard","name":"hasTextInput"}},"love.data.unpack":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#data_unpack","arguments":[{"name":"format","description":"A string determining how the values were packed. Follows the rules of Lua 5.3's string.pack format strings.","type":"string"},{"name":"datastring","description":"A string containing the packed (serialized) data.","type":"string"},{"name":"pos","default":"1","description":"Where to start reading in the string. Negative values can be used to read relative from the end of the string.","type":"number"}],"description":"Unpacks (deserializes) a byte-string or Data into simple Lua values.\n\nThis function behaves the same as Lua 5.3's string.unpack.","returns":[{"name":"v1","description":"The first value (number, boolean, or string) that was unpacked.","type":"number or boolean or string"},{"name":"...","description":"Additional unpacked values.","type":"number or boolean or string"},{"name":"index","description":"The index of the first unread byte in the data string.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.data.unpack","namespace":"love.data","name":"unpack"}},"love.filesystem.setIdentity":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_setIdentity","arguments":[{"name":"name","description":"The new identity that will be used as write directory.","type":"string"}],"description":"Sets the write directory for your game. \n\nNote that you can only set the name of the folder to store your files in, not the location.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.setIdentity","namespace":"love.filesystem","name":"setIdentity"}},"love.data.encode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#data_encode","arguments":[{"name":"container","description":"What type to return the encoded data as.","type":"ContainerType"},{"name":"format","description":"The format of the output data.","type":"EncodeFormat"},{"name":"sourceString","description":"The raw data to encode.","type":"string"},{"name":"linelength","default":"0","description":"The maximum line length of the output. Only supported for base64, ignored if 0.","type":"number"}],"description":"Encode Data or a string to a Data or string in one of the EncodeFormats.","returns":[{"name":"encoded","description":"ByteData/string which contains the encoded version of source.","type":"ByteData or string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.data.encode","namespace":"love.data","name":"encode"}},"love.data.decode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#data_decode","arguments":[{"name":"container","description":"What type to return the decoded data as.","type":"ContainerType"},{"name":"format","description":"The format of the input data.","type":"EncodeFormat"},{"name":"sourceString","description":"The raw (encoded) data to decode.","type":"string"}],"description":"Decode Data or a string from any of the EncodeFormats to Data or string.","returns":[{"name":"decoded","description":"ByteData/string which contains the decoded version of source.","type":"ByteData or string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.data.decode","namespace":"love.data","name":"decode"}},"love.joystick.getJoystickCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#joystick_getJoystickCount","description":"Gets the number of connected joysticks.","returns":[{"name":"joystickcount","description":"The number of connected joysticks.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.joystick.getJoystickCount","namespace":"love.joystick","name":"getJoystickCount"}},"love.filesystem.FileData":{"meta":{"name":"FileData","supertypes":["Data","Object"],"wiki_link":"https://love2d.org/wiki/FileData","constructors":["newFileData"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_FileData","namespace":"love.filesystem","description":"Data representing the contents of a file."}},"love.physics.World":{"meta":{"name":"World","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/World","constructors":["newWorld"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_World","namespace":"love.physics","description":"A world is an object that contains all bodies and joints."}},"love.audio.newSource":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_newSource","arguments":[{"name":"filename","description":"The filepath to the audio file.","type":"string"},{"name":"type","description":"Streaming or static source.","type":"SourceType"}],"description":"Creates a new Source from a filepath, File, Decoder or SoundData.\n\nSources created from SoundData are always static.","returns":[{"name":"source","description":"A new Source that can play the specified audio.","type":"Source"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.newSource","namespace":"love.audio","name":"newSource"}},"love.filesystem.getRealDirectory":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_getRealDirectory","arguments":[{"name":"filepath","description":"The filepath to get the directory of.","type":"string"}],"description":"Gets the platform-specific absolute path of the directory containing a filepath.\n\nThis can be used to determine whether a file is inside the save directory or the game's source .love.","returns":[{"name":"realdir","description":"The platform-specific full path of the directory containing the filepath.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.getRealDirectory","namespace":"love.filesystem","name":"getRealDirectory"}},"love.image.newCompressedData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#image_newCompressedData","arguments":[{"name":"filename","description":"The filename of the compressed image file.","type":"string"}],"description":"Create a new CompressedImageData object from a compressed image file. LÖVE supports several compressed texture formats, enumerated in the CompressedImageFormat page.","returns":[{"name":"compressedImageData","description":"The new CompressedImageData object.","type":"CompressedImageData"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.image.newCompressedData","namespace":"love.image","name":"newCompressedData"}},"love.math.gammaToLinear":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_gammaToLinear","arguments":[{"name":"r","description":"The red channel of the sRGB color to convert.","type":"number"},{"name":"g","description":"The green channel of the sRGB color to convert.","type":"number"},{"name":"b","description":"The blue channel of the sRGB color to convert.","type":"number"}],"description":"Converts a color from gamma-space (sRGB) to linear-space (RGB). This is useful when doing gamma-correct rendering and you need to do math in linear RGB in the few cases where LÖVE doesn't handle conversions automatically.\n\nRead more about gamma-correct rendering here, here, and here.\n\nIn versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1.","returns":[{"name":"lr","description":"The red channel of the converted color in linear RGB space.","type":"number"},{"name":"lg","description":"The green channel of the converted color in linear RGB space.","type":"number"},{"name":"lb","description":"The blue channel of the converted color in linear RGB space.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.gammaToLinear","namespace":"love.math","name":"gammaToLinear"}},"love.physics.getDistance":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_getDistance","arguments":[{"name":"fixture1","description":"The first fixture.","type":"Fixture"},{"name":"fixture2","description":"The second fixture.","type":"Fixture"}],"description":"Returns the two closest points between two fixtures and their distance.","returns":[{"name":"distance","description":"The distance of the two points.","type":"number"},{"name":"x1","description":"The x-coordinate of the first point.","type":"number"},{"name":"y1","description":"The y-coordinate of the first point.","type":"number"},{"name":"x2","description":"The x-coordinate of the second point.","type":"number"},{"name":"y2","description":"The y-coordinate of the second point.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.getDistance","namespace":"love.physics","name":"getDistance"}},"love.image.newImageData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#image_newImageData","arguments":[{"name":"width","description":"The width of the ImageData.","type":"number"},{"name":"height","description":"The height of the ImageData.","type":"number"}],"description":"Creates a new ImageData object.","returns":[{"name":"imageData","description":"The new blank ImageData object. Each pixel's color values, (including the alpha values!) will be set to zero.","type":"ImageData"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.image.newImageData","namespace":"love.image","name":"newImageData"}},"love.physics.WheelJoint":{"meta":{"name":"WheelJoint","supertypes":["Joint","Object"],"wiki_link":"https://love2d.org/wiki/WheelJoint","constructors":["newWheelJoint"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_WheelJoint","namespace":"love.physics","description":"Restricts a point on the second body to a line on the first body."}},"love.graphics.applyTransform":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_applyTransform","arguments":[{"name":"transform","description":"The Transform object to apply to the current graphics coordinate transform.","type":"Transform"}],"description":"Applies the given Transform object to the current coordinate transformation.\n\nThis effectively multiplies the existing coordinate transformation's matrix with the Transform object's internal matrix to produce the new coordinate transformation.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.applyTransform","namespace":"love.graphics","name":"applyTransform"}},"love.graphics.setMeshCullMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setMeshCullMode","arguments":[{"name":"mode","description":"The Mesh face culling mode to use (whether to render everything, cull back-facing triangles, or cull front-facing triangles).","type":"CullMode"}],"description":"Sets whether back-facing triangles in a Mesh are culled.\n\nThis is designed for use with low level custom hardware-accelerated 3D rendering via custom vertex attributes on Meshes, custom vertex shaders, and depth testing with a depth buffer.\n\nBy default, both front- and back-facing triangles in Meshes are rendered.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setMeshCullMode","namespace":"love.graphics","name":"setMeshCullMode"}},"love.physics.newRectangleShape":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newRectangleShape","arguments":[{"name":"width","description":"The width of the rectangle.","type":"number"},{"name":"height","description":"The height of the rectangle.","type":"number"}],"description":"Shorthand for creating rectangular PolygonShapes. \n\nBy default, the local origin is located at the '''center''' of the rectangle as opposed to the top left for graphics.","returns":[{"name":"shape","description":"A new PolygonShape.","type":"PolygonShape"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newRectangleShape","namespace":"love.physics","name":"newRectangleShape"}},"love.system.openURL":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#system_openURL","arguments":[{"name":"url","description":"The URL to open. Must be formatted as a proper URL.","type":"string"}],"description":"Opens a URL with the user's web or file browser.","returns":[{"name":"success","description":"Whether the URL was opened successfully.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.system.openURL","namespace":"love.system","name":"openURL"}},"love.window.isOpen":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_isOpen","description":"Checks if the window is open.","returns":[{"name":"open","description":"True if the window is open, false otherwise.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.isOpen","namespace":"love.window","name":"isOpen"}},"love.physics.PulleyJoint":{"meta":{"name":"PulleyJoint","supertypes":["Joint","Object"],"wiki_link":"https://love2d.org/wiki/PulleyJoint","constructors":["newPulleyJoint"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_PulleyJoint","namespace":"love.physics","description":"Allows you to simulate bodies connected through pulleys."}},"love.graphics.setWireframe":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setWireframe","arguments":[{"name":"enable","description":"True to enable wireframe mode when drawing, false to disable it.","type":"boolean"}],"description":"Sets whether wireframe lines will be used when drawing.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setWireframe","namespace":"love.graphics","name":"setWireframe"}},"love.graphics.getCanvas":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getCanvas","description":"Gets the current target Canvas.","returns":[{"name":"canvas","description":"The Canvas set by setCanvas. Returns nil if drawing to the real screen.","type":"Canvas"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getCanvas","namespace":"love.graphics","name":"getCanvas"}},"love.physics.RopeJoint":{"meta":{"name":"RopeJoint","supertypes":["Joint","Object"],"wiki_link":"https://love2d.org/wiki/RopeJoint","constructors":["newRopeJoint"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_RopeJoint","namespace":"love.physics","description":"The RopeJoint enforces a maximum distance between two points on two bodies. It has no other effect."}},"love.mouse.setVisible":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_setVisible","arguments":[{"name":"visible","description":"True to set the cursor to visible, false to hide the cursor.","type":"boolean"}],"description":"Sets the current visibility of the cursor.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.setVisible","namespace":"love.mouse","name":"setVisible"}},"love.graphics.getFont":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getFont","description":"Gets the current Font object.","returns":[{"name":"font","description":"The current Font. Automatically creates and sets the default font, if none is set yet.","type":"Font"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getFont","namespace":"love.graphics","name":"getFont"}},"love.physics.newWheelJoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newWheelJoint","arguments":[{"name":"body1","description":"The first body.","type":"Body"},{"name":"body2","description":"The second body.","type":"Body"},{"name":"x","description":"The x position of the anchor point.","type":"number"},{"name":"y","description":"The y position of the anchor point.","type":"number"},{"name":"ax","description":"The x position of the axis unit vector.","type":"number"},{"name":"ay","description":"The y position of the axis unit vector.","type":"number"},{"name":"collideConnected","default":"false","description":"Specifies whether the two bodies should collide with each other.","type":"boolean"}],"description":"Creates a wheel joint.","returns":[{"name":"joint","description":"The new WheelJoint.","type":"WheelJoint"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newWheelJoint","namespace":"love.physics","name":"newWheelJoint"}},"love.graphics.setCanvas":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setCanvas","arguments":[{"name":"canvas","description":"The new target.","type":"Canvas"},{"name":"mipmap","default":"1","description":"The mipmap level to render to, for Canvases with mipmaps.","type":"number"}],"description":"Captures drawing operations to a Canvas.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setCanvas","namespace":"love.graphics","name":"setCanvas"}},"love.graphics.getStackDepth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getStackDepth","description":"Gets the current depth of the transform / state stack (the number of pushes without corresponding pops).","returns":[{"name":"depth","description":"The current depth of the transform and state love.graphics stack.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getStackDepth","namespace":"love.graphics","name":"getStackDepth"}},"love.math.BezierCurve":{"meta":{"name":"BezierCurve","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/BezierCurve","constructors":["newBezierCurve"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_BezierCurve","namespace":"love.math","description":"A Bézier curve object that can evaluate and render Bézier curves of arbitrary degree.\n\nFor more information on Bézier curves check this great article on Wikipedia."}},"love.physics.newMouseJoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newMouseJoint","arguments":[{"name":"body","description":"The body to attach to the mouse.","type":"Body"},{"name":"x","description":"The x position of the connecting point.","type":"number"},{"name":"y","description":"The y position of the connecting point.","type":"number"}],"description":"Create a joint between a body and the mouse.\n\nThis joint actually connects the body to a fixed point in the world. To make it follow the mouse, the fixed point must be updated every timestep (example below).\n\nThe advantage of using a MouseJoint instead of just changing a body position directly is that collisions and reactions to other joints are handled by the physics engine. ","returns":[{"name":"joint","description":"The new mouse joint.","type":"MouseJoint"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newMouseJoint","namespace":"love.physics","name":"newMouseJoint"}},"love.audio.isEffectsSupported":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_isEffectsSupported","description":"Gets whether audio effects are supported in the system.","returns":[{"name":"supported","description":"True if effects are supported, false otherwise.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.isEffectsSupported","namespace":"love.audio","name":"isEffectsSupported"}},"love.graphics.getImageFormats":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getImageFormats","description":"Gets the raw and compressed pixel formats usable for Images, and whether each is supported.","returns":[{"name":"formats","description":"A table containing PixelFormats as keys, and a boolean indicating whether the format is supported as values. Not all systems support all formats.","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getImageFormats","namespace":"love.graphics","name":"getImageFormats"}},"love.mouse.hasCursor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_hasCursor","description":"Gets whether cursor functionality is supported.\n\nIf it isn't supported, calling love.mouse.newCursor and love.mouse.getSystemCursor will cause an error. Mobile devices do not support cursors.","returns":[{"name":"hascursor","description":"Whether the system has cursor functionality.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.hasCursor","namespace":"love.mouse","name":"hasCursor"}},"love.graphics.setLineStyle":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setLineStyle","arguments":[{"name":"style","description":"The LineStyle to use. Line styles include smooth and rough.","type":"LineStyle"}],"description":"Sets the line style.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setLineStyle","namespace":"love.graphics","name":"setLineStyle"}},"love.filesystem.File":{"meta":{"name":"File","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/File","constructors":["newFile"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_File","namespace":"love.filesystem","description":"Represents a file on the filesystem. A function that takes a file path can also take a File."}},"love.filesystem.getInfo":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_getInfo","arguments":[{"name":"path","description":"The file or directory path to check.","type":"string"},{"name":"filtertype","default":"nil","description":"If supplied, this parameter causes getInfo to only return the info table if the item at the given path matches the specified file type.","type":"FileType"}],"description":"Gets information about the specified file or directory.","returns":[{"name":"info","table":[{"name":"type","description":"The type of the object at the path (file, directory, symlink, etc.)","type":"FileType"},{"name":"size","description":"The size in bytes of the file, or nil if it can't be determined.","type":"number"},{"name":"modtime","description":"The file's last modification time in seconds since the unix epoch, or nil if it can't be determined.","type":"number"}],"description":"A table containing information about the specified path, or nil if nothing exists at the path. The table contains the following fields:","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.getInfo","namespace":"love.filesystem","name":"getInfo"}},"love.physics.newCircleShape":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newCircleShape","arguments":[{"name":"radius","description":"The radius of the circle.","type":"number"}],"description":"Creates a new CircleShape.","returns":[{"name":"shape","description":"The new shape.","type":"CircleShape"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newCircleShape","namespace":"love.physics","name":"newCircleShape"}},"love.window.getVSync":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_getVSync","description":"Gets current vertical synchronization (vsync).","returns":[{"name":"vsync","description":"Current vsync status. 1 if enabled, 0 if disabled, and -1 for adaptive vsync.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.getVSync","namespace":"love.window","name":"getVSync"}},"love.keyboard.getScancodeFromKey":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#keyboard_getScancodeFromKey","arguments":[{"name":"key","description":"The key to get the scancode from.","type":"KeyConstant"}],"description":"Gets the hardware scancode corresponding to the given key.\n\nUnlike key constants, Scancodes are keyboard layout-independent. For example the scancode 'w' will be generated if the key in the same place as the 'w' key on an American keyboard is pressed, no matter what the key is labelled or what the user's operating system settings are.\n\nScancodes are useful for creating default controls that have the same physical locations on on all systems.","returns":[{"name":"scancode","description":"The scancode corresponding to the given key, or 'unknown' if the given key has no known physical representation on the current system.","type":"Scancode"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.keyboard.getScancodeFromKey","namespace":"love.keyboard","name":"getScancodeFromKey"}},"love.audio.getVolume":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_getVolume","description":"Returns the master volume.","returns":[{"name":"volume","description":"The current master volume","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.getVolume","namespace":"love.audio","name":"getVolume"}},"love.graphics.scale":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_scale","arguments":[{"name":"sx","description":"The scaling in the direction of the x-axis.","type":"number"},{"name":"sy","default":"sx","description":"The scaling in the direction of the y-axis. If omitted, it defaults to same as parameter sx.","type":"number"}],"description":"Scales the coordinate system in two dimensions.\n\nBy default the coordinate system in LÖVE corresponds to the display pixels in horizontal and vertical directions one-to-one, and the x-axis increases towards the right while the y-axis increases downwards. Scaling the coordinate system changes this relation.\n\nAfter scaling by sx and sy, all coordinates are treated as if they were multiplied by sx and sy. Every result of a drawing operation is also correspondingly scaled, so scaling by (2, 2) for example would mean making everything twice as large in both x- and y-directions. Scaling by a negative value flips the coordinate system in the corresponding direction, which also means everything will be drawn flipped or upside down, or both. Scaling by zero is not a useful operation.\n\nScale and translate are not commutative operations, therefore, calling them in different orders will change the outcome.\n\nScaling lasts until love.draw() exits.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.scale","namespace":"love.graphics","name":"scale"}},"love.math.colorFromBytes":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_colorFromBytes","arguments":[{"name":"rb","description":"Red color component in 0..255 range.","type":"number"},{"name":"gb","description":"Green color component in 0..255 range.","type":"number"},{"name":"bb","description":"Blue color component in 0..255 range.","type":"number"},{"name":"ab","default":"nil","description":"Alpha color component in 0..255 range.","type":"number"}],"description":"Converts a color from 0..255 to 0..1 range.","returns":[{"name":"r","description":"Red color component in 0..1 range.","type":"number"},{"name":"g","description":"Green color component in 0..1 range.","type":"number"},{"name":"b","description":"Blue color component in 0..1 range.","type":"number"},{"name":"a","description":"Alpha color component in 0..1 range or nil if alpha is not specified.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.colorFromBytes","namespace":"love.math","name":"colorFromBytes"}},"love.joystick.getGamepadMappingString":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#joystick_getGamepadMappingString","arguments":[{"name":"guid","description":"The GUID value to get the mapping string for.","type":"string"}],"description":"Gets the full gamepad mapping string of the Joysticks which have the given GUID, or nil if the GUID isn't recognized as a gamepad.\n\nThe mapping string contains binding information used to map the Joystick's buttons an axes to the standard gamepad layout, and can be used later with love.joystick.loadGamepadMappings.","returns":[{"name":"mappingstring","description":"A string containing the Joystick's gamepad mappings, or nil if the GUID is not recognized as a gamepad.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.joystick.getGamepadMappingString","namespace":"love.joystick","name":"getGamepadMappingString"}},"love.font.newRasterizer":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#font_newRasterizer","arguments":[{"name":"filename","description":"The font file.","type":"string"}],"description":"Creates a new Rasterizer.","returns":[{"name":"rasterizer","description":"The rasterizer.","type":"Rasterizer"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.font.newRasterizer","namespace":"love.font","name":"newRasterizer"}},"love.filesystem.getSaveDirectory":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_getSaveDirectory","description":"Gets the full path to the designated save directory.\n\nThis can be useful if you want to use the standard io library (or something else) to\n\nread or write in the save directory.","returns":[{"name":"dir","description":"The absolute path to the save directory.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.getSaveDirectory","namespace":"love.filesystem","name":"getSaveDirectory"}},"love.physics.Fixture":{"meta":{"name":"Fixture","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Fixture","constructors":["newFixture"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Fixture","namespace":"love.physics","description":"Fixtures attach shapes to bodies."}},"love.graphics.newFont":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_newFont","arguments":[{"name":"filename","description":"The filepath to the BMFont or TrueType font file.","type":"string"}],"description":"Creates a new Font from a TrueType Font or BMFont file. Created fonts are not cached, in that calling this function with the same arguments will always create a new Font object.\n\nAll variants which accept a filename can also accept a Data object instead.","returns":[{"name":"font","description":"A Font object which can be used to draw text on screen.","type":"Font"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.newFont","namespace":"love.graphics","name":"newFont"}},"love.audio.stop":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_stop","description":"Stops currently played sources.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.stop","namespace":"love.audio","name":"stop"}},"love.physics.PrismaticJoint":{"meta":{"name":"PrismaticJoint","supertypes":["Joint","Object"],"wiki_link":"https://love2d.org/wiki/PrismaticJoint","constructors":["newPrismaticJoint"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_PrismaticJoint","namespace":"love.physics","description":"Restricts relative motion between Bodies to one shared axis."}},"love.audio.getSourceCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_getSourceCount","description":"Gets the current number of simultaneously playing sources.","returns":[{"name":"numSources","description":"The current number of simultaneously playing sources.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.getSourceCount","namespace":"love.audio","name":"getSourceCount"}},"love.graphics.newCanvas":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_newCanvas","description":"Creates a new Canvas object for offscreen rendering.","returns":[{"name":"canvas","description":"A new Canvas with dimensions equal to the window's size in pixels.","type":"Canvas"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.newCanvas","namespace":"love.graphics","name":"newCanvas"}},"love.joystick.setGamepadMapping":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#joystick_setGamepadMapping","arguments":[{"name":"guid","description":"The OS-dependent GUID for the type of Joystick the binding will affect.","type":"string"},{"name":"button","description":"The virtual gamepad button to bind.","type":"GamepadButton"},{"name":"inputtype","description":"The type of input to bind the virtual gamepad button to.","type":"JoystickInputType"},{"name":"inputindex","description":"The index of the axis, button, or hat to bind the virtual gamepad button to.","type":"number"},{"name":"hatdir","default":"nil","description":"The direction of the hat, if the virtual gamepad button will be bound to a hat. nil otherwise.","type":"JoystickHat"}],"description":"Binds a virtual gamepad input to a button, axis or hat for all Joysticks of a certain type. For example, if this function is used with a GUID returned by a Dualshock 3 controller in OS X, the binding will affect Joystick:getGamepadAxis and Joystick:isGamepadDown for ''all'' Dualshock 3 controllers used with the game when run in OS X.\n\nLÖVE includes built-in gamepad bindings for many common controllers. This function lets you change the bindings or add new ones for types of Joysticks which aren't recognized as gamepads by default.\n\nThe virtual gamepad buttons and axes are designed around the Xbox 360 controller layout.","returns":[{"name":"success","description":"Whether the virtual gamepad button was successfully bound.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.joystick.setGamepadMapping","namespace":"love.joystick","name":"setGamepadMapping"}},"love.filesystem.DroppedFile":{"meta":{"supertypes":["File","Object"],"wiki_link":"https://love2d.org/wiki/DroppedFile","name":"DroppedFile","prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_DroppedFile","namespace":"love.filesystem","description":"Represents a file dropped onto the window.\n\nNote that the DroppedFile type can only be obtained from love.filedropped callback, and can't be constructed manually by the user."}},"love.math.triangulate":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_triangulate","arguments":[{"name":"polygon","description":"Polygon to triangulate. Must not intersect itself.","type":"table"}],"description":"Decomposes a simple convex or concave polygon into triangles.","returns":[{"name":"triangles","description":"List of triangles the polygon is composed of, in the form of {{x1, y1, x2, y2, x3, y3}, {x1, y1, x2, y2, x3, y3}, ...}.","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.triangulate","namespace":"love.math","name":"triangulate"}},"love.physics.ChainShape":{"meta":{"name":"ChainShape","supertypes":["Shape","Object"],"wiki_link":"https://love2d.org/wiki/ChainShape","constructors":["newChainShape"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_ChainShape","namespace":"love.physics","description":"A ChainShape consists of multiple line segments. It can be used to create the boundaries of your terrain. The shape does not have volume and can only collide with PolygonShape and CircleShape.\n\nUnlike the PolygonShape, the ChainShape does not have a vertices limit or has to form a convex shape, but self intersections are not supported."}},"love.graphics.Shader":{"meta":{"name":"Shader","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Shader","constructors":["getShader","newShader"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Shader","namespace":"love.graphics","description":"A Shader is used for advanced hardware-accelerated pixel or vertex manipulation. These effects are written in a language based on GLSL (OpenGL Shading Language) with a few things simplified for easier coding.\n\nPotential uses for shaders include HDR/bloom, motion blur, grayscale/invert/sepia/any kind of color effect, reflection/refraction, distortions, bump mapping, and much more! Here is a collection of basic shaders and good starting point to learn: https://github.com/vrld/moonshine"}},"love.math.decompress":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_decompress","arguments":[{"name":"compressedData","description":"The compressed data to decompress.","type":"CompressedData"}],"description":"Decompresses a CompressedData or previously compressed string or Data object.","returns":[{"name":"rawstring","description":"A string containing the raw decompressed data.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.decompress","namespace":"love.math","name":"decompress"}},"love.physics.GearJoint":{"meta":{"name":"GearJoint","supertypes":["Joint","Object"],"wiki_link":"https://love2d.org/wiki/GearJoint","constructors":["newGearJoint"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_GearJoint","namespace":"love.physics","description":"Keeps bodies together in such a way that they act like gears."}},"love.font.Rasterizer":{"meta":{"name":"Rasterizer","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Rasterizer","constructors":["newTrueTypeRasterizer","newRasterizer","newImageRasterizer","newBMFontRasterizer"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Rasterizer","namespace":"love.font","description":"A Rasterizer handles font rendering, containing the font data (image or TrueType font) and drawable glyphs."}},"love.graphics.pop":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_pop","description":"Pops the current coordinate transformation from the transformation stack.\n\nThis function is always used to reverse a previous push operation. It returns the current transformation state to what it was before the last preceding push.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.pop","namespace":"love.graphics","name":"pop"}},"love.graphics.Canvas":{"meta":{"name":"Canvas","supertypes":["Texture","Drawable","Object"],"wiki_link":"https://love2d.org/wiki/Canvas","constructors":["newCanvas","getCanvas"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Canvas","namespace":"love.graphics","description":"A Canvas is used for off-screen rendering. Think of it as an invisible screen that you can draw to, but that will not be visible until you draw it to the actual visible screen. It is also known as \"render to texture\".\n\nBy drawing things that do not change position often (such as background items) to the Canvas, and then drawing the entire Canvas instead of each item, you can reduce the number of draw operations performed each frame.\n\nIn versions prior to love.graphics.isSupported(\"canvas\") could be used to check for support at runtime."}},"love.graphics.setColorMask":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setColorMask","arguments":[{"name":"red","description":"Render red component.","type":"boolean"},{"name":"green","description":"Render green component.","type":"boolean"},{"name":"blue","description":"Render blue component.","type":"boolean"},{"name":"alpha","description":"Render alpha component.","type":"boolean"}],"description":"Sets the color mask. Enables or disables specific color components when rendering and clearing the screen. For example, if '''red''' is set to '''false''', no further changes will be made to the red component of any pixels.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setColorMask","namespace":"love.graphics","name":"setColorMask"}},"love.window.getFullscreen":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_getFullscreen","description":"Gets whether the window is fullscreen.","returns":[{"name":"fullscreen","description":"True if the window is fullscreen, false otherwise.","type":"boolean"},{"name":"fstype","description":"The type of fullscreen mode used.","type":"FullscreenType"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.getFullscreen","namespace":"love.window","name":"getFullscreen"}},"love.data.decompress":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#data_decompress","arguments":[{"name":"container","description":"What type to return the decompressed data as.","type":"ContainerType"},{"name":"compressedData","description":"The compressed data to decompress.","type":"CompressedData"}],"description":"Decompresses a CompressedData or previously compressed string or Data object.","returns":[{"name":"decompressedData","description":"Data/string containing the raw decompressed data.","type":"Data or string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.data.decompress","namespace":"love.data","name":"decompress"}},"love.graphics.newVideo":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_newVideo","arguments":[{"name":"filename","description":"The file path to the Ogg Theora video file.","type":"string"}],"description":"Creates a new drawable Video. Currently only Ogg Theora video files are supported.","returns":[{"name":"video","description":"A new Video.","type":"Video"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.newVideo","namespace":"love.graphics","name":"newVideo"}},"love.audio.getPosition":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_getPosition","description":"Returns the position of the listener. Please note that positional audio only works for mono (i.e. non-stereo) sources.","returns":[{"name":"x","description":"The X position of the listener.","type":"number"},{"name":"y","description":"The Y position of the listener.","type":"number"},{"name":"z","description":"The Z position of the listener.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.getPosition","namespace":"love.audio","name":"getPosition"}},"love.graphics.present":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_present","description":"Displays the results of drawing operations on the screen.\n\nThis function is used when writing your own love.run function. It presents all the results of your drawing operations on the screen. See the example in love.run for a typical use of this function.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.present","namespace":"love.graphics","name":"present"}},"love.filesystem.lines":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_lines","arguments":[{"name":"name","description":"The name (and path) of the file","type":"string"}],"description":"Iterate over the lines in a file.","returns":[{"name":"iterator","description":"A function that iterates over all the lines in the file","type":"function"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.lines","namespace":"love.filesystem","name":"lines"}},"love.joystick.Joystick":{"meta":{"supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Joystick","name":"Joystick","prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Joystick","namespace":"love.joystick","description":"Represents a physical joystick."}},"love.event.poll":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#event_poll","description":"Returns an iterator for messages in the event queue.","returns":[{"name":"i","description":"Iterator function usable in a for loop.","type":"function"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.event.poll","namespace":"love.event","name":"poll"}},"love.filesystem.setSymlinksEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_setSymlinksEnabled","arguments":[{"name":"enable","description":"Whether love.filesystem should follow symbolic links.","type":"boolean"}],"description":"Sets whether love.filesystem follows symbolic links. It is enabled by default in version 0.10.0 and newer, and disabled by default in 0.9.2.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.setSymlinksEnabled","namespace":"love.filesystem","name":"setSymlinksEnabled"}},"love.graphics.setPointSize":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setPointSize","arguments":[{"name":"size","description":"The new point size.","type":"number"}],"description":"Sets the point size.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setPointSize","namespace":"love.graphics","name":"setPointSize"}},"love.graphics.drawInstanced":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_drawInstanced","arguments":[{"name":"mesh","description":"The mesh to render.","type":"Mesh"},{"name":"instancecount","description":"The number of instances to render.","type":"number"},{"name":"x","default":"0","description":"The position to draw the instances (x-axis).","type":"number"},{"name":"y","default":"0","description":"The position to draw the instances (y-axis).","type":"number"},{"name":"r","default":"0","description":"Orientation (radians).","type":"number"},{"name":"sx","default":"1","description":"Scale factor (x-axis).","type":"number"},{"name":"sy","default":"sx","description":"Scale factor (y-axis).","type":"number"},{"name":"ox","default":"0","description":"Origin offset (x-axis).","type":"number"},{"name":"oy","default":"0","description":"Origin offset (y-axis).","type":"number"},{"name":"kx","default":"0","description":"Shearing factor (x-axis).","type":"number"},{"name":"ky","default":"0","description":"Shearing factor (y-axis).","type":"number"}],"description":"Draws many instances of a Mesh with a single draw call, using hardware geometry instancing.\n\nEach instance can have unique properties (positions, colors, etc.) but will not by default unless a custom per-instance vertex attributes or the love_InstanceID GLSL 3 vertex shader variable is used, otherwise they will all render at the same position on top of each other.\n\nInstancing is not supported by some older GPUs that are only capable of using OpenGL ES 2 or OpenGL 2. Use love.graphics.getSupported to check.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.drawInstanced","namespace":"love.graphics","name":"drawInstanced"}},"love.graphics.getDepthMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getDepthMode","description":"Gets the current depth test mode and whether writing to the depth buffer is enabled.\n\nThis is low-level functionality designed for use with custom vertex shaders and Meshes with custom vertex attributes. No higher level APIs are provided to set the depth of 2D graphics such as shapes, lines, and Images.","returns":[{"name":"comparemode","description":"Depth comparison mode used for depth testing.","type":"CompareMode"},{"name":"write","description":"Whether to write update / write values to the depth buffer when rendering.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getDepthMode","namespace":"love.graphics","name":"getDepthMode"}},"love.graphics.newParticleSystem":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_newParticleSystem","arguments":[{"name":"image","description":"The image to use.","type":"Image"},{"name":"buffer","default":"1000","description":"The max number of particles at the same time.","type":"number"}],"description":"Creates a new ParticleSystem.","returns":[{"name":"system","description":"A new ParticleSystem.","type":"ParticleSystem"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.newParticleSystem","namespace":"love.graphics","name":"newParticleSystem"}},"love.audio.setVolume":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_setVolume","arguments":[{"name":"volume","description":"1.0 is max and 0.0 is off.","type":"number"}],"description":"Sets the master volume.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.setVolume","namespace":"love.audio","name":"setVolume"}},"love.Object.type":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Object_type","description":"Gets the type of the object as a string.","returns":[{"name":"type","description":"The type as a string.","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Object:type","namespace":"love.Object","name":"type"}},"love.graphics.getLineStyle":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getLineStyle","description":"Gets the line style.","returns":[{"name":"style","description":"The current line style.","type":"LineStyle"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getLineStyle","namespace":"love.graphics","name":"getLineStyle"}},"love.filesystem.createDirectory":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_createDirectory","arguments":[{"name":"name","description":"The directory to create.","type":"string"}],"description":"Recursively creates a directory.\n\nWhen called with 'a/b' it creates both 'a' and 'a/b', if they don't exist already.","returns":[{"name":"success","description":"True if the directory was created, false if not.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.createDirectory","namespace":"love.filesystem","name":"createDirectory"}},"love.physics.EdgeShape":{"meta":{"name":"EdgeShape","supertypes":["Shape","Object"],"wiki_link":"https://love2d.org/wiki/EdgeShape","constructors":["newEdgeShape"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_EdgeShape","namespace":"love.physics","description":"A EdgeShape is a line segment. They can be used to create the boundaries of your terrain. The shape does not have volume and can only collide with PolygonShape and CircleShape."}},"love.graphics.Texture":{"meta":{"supertypes":["Drawable","Object"],"wiki_link":"https://love2d.org/wiki/Texture","name":"Texture","prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Texture","namespace":"love.graphics","description":"Superclass for drawable objects which represent a texture. All Textures can be drawn with Quads. This is an abstract type that can't be created directly."}},"love.thread.newChannel":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#thread_newChannel","description":"Create a new unnamed thread channel.\n\nOne use for them is to pass new unnamed channels to other threads via Channel:push on a named channel.","returns":[{"name":"channel","description":"The new Channel object.","type":"Channel"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.thread.newChannel","namespace":"love.thread","name":"newChannel"}},"love.graphics.points":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_points","arguments":[{"name":"x","description":"The position of the first point on the x-axis.","type":"number"},{"name":"y","description":"The position of the first point on the y-axis.","type":"number"},{"name":"...","description":"The x and y coordinates of additional points.","type":"number"}],"description":"Draws one or more points.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.points","namespace":"love.graphics","name":"points"}},"love.graphics.getBlendMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getBlendMode","description":"Gets the blending mode.","returns":[{"name":"mode","description":"The current blend mode.","type":"BlendMode"},{"name":"alphamode","description":"The current blend alpha mode – it determines how the alpha of drawn objects affects blending.","type":"BlendAlphaMode"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getBlendMode","namespace":"love.graphics","name":"getBlendMode"}},"love.physics.DistanceJoint":{"meta":{"name":"DistanceJoint","supertypes":["Joint","Object"],"wiki_link":"https://love2d.org/wiki/DistanceJoint","constructors":["newDistanceJoint"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_DistanceJoint","namespace":"love.physics","description":"Keeps two bodies at the same distance."}},"love.graphics.newText":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_newText","arguments":[{"name":"font","description":"The font to use for the text.","type":"Font"},{"name":"textstring","default":"nil","description":"The initial string of text that the new Text object will contain. May be nil.","type":"string"}],"description":"Creates a new drawable Text object.","returns":[{"name":"text","description":"The new drawable Text object.","type":"Text"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.newText","namespace":"love.graphics","name":"newText"}},"love.data.newByteData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#data_newByteData","arguments":[{"name":"datastring","description":"The byte string to copy.","type":"string"}],"description":"Creates a new Data object containing arbitrary bytes.\n\nData:getPointer along with LuaJIT's FFI can be used to manipulate the contents of the ByteData object after it has been created.","returns":[{"name":"bytedata","description":"The new Data object.","type":"ByteData"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.data.newByteData","namespace":"love.data","name":"newByteData"}},"love.window.getDisplayOrientation":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_getDisplayOrientation","arguments":[{"name":"index","default":"nil","description":"Display index to get its display orientation, or nil for default display index.","type":"number"}],"description":"Gets current device display orientation.","returns":[{"name":"orientation","description":"Current device display orientation.","type":"DisplayOrientation"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.getDisplayOrientation","namespace":"love.window","name":"getDisplayOrientation"}},"love.audio.getMaxSourceEffects":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_getMaxSourceEffects","description":"Gets the maximum number of active Effects in a single Source object, that the system can support.","returns":[{"name":"maximum","description":"The maximum number of active Effects per Source.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.getMaxSourceEffects","namespace":"love.audio","name":"getMaxSourceEffects"}},"love.touch.getTouches":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#touch_getTouches","description":"Gets a list of all active touch-presses.","returns":[{"name":"touches","description":"A list of active touch-press id values, which can be used with love.touch.getPosition.","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.touch.getTouches","namespace":"love.touch","name":"getTouches"}},"love.graphics.getPointSize":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getPointSize","description":"Gets the point size.","returns":[{"name":"size","description":"The current point size.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getPointSize","namespace":"love.graphics","name":"getPointSize"}},"love.thread.Channel":{"meta":{"name":"Channel","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Channel","constructors":["newChannel","getChannel"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Channel","namespace":"love.thread","description":"An object which can be used to send and receive data between different threads."}},"love.physics.CircleShape":{"meta":{"name":"CircleShape","supertypes":["Shape","Object"],"wiki_link":"https://love2d.org/wiki/CircleShape","constructors":["newCircleShape"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_CircleShape","namespace":"love.physics","description":"Circle extends Shape and adds a radius and a local position."}},"love.filesystem.append":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_append","arguments":[{"name":"name","description":"The name (and path) of the file.","type":"string"},{"name":"data","description":"The string data to append to the file.","type":"string"},{"name":"size","default":"all","description":"How many bytes to write.","type":"number"}],"description":"Append data to an existing file.","returns":[{"name":"success","description":"True if the operation was successful, or nil if there was an error.","type":"boolean"},{"name":"errormsg","description":"The error message on failure.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.append","namespace":"love.filesystem","name":"append"}},"love.graphics.newMesh":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_newMesh","arguments":[{"name":"vertices","table":[{"name":"1","description":"The position of the vertex on the x-axis.","type":"number"},{"name":"2","description":"The position of the vertex on the y-axis.","type":"number"},{"name":"3","default":"0","description":"The u texture coordinate of the vertex. Texture coordinates are normally in the range of 1, but can be greater or less (see WrapMode.)","type":"number"},{"name":"4","default":"0","description":"The v texture coordinate of the vertex. Texture coordinates are normally in the range of 1, but can be greater or less (see WrapMode.)","type":"number"},{"name":"5","default":"1","description":"The red component of the vertex color.","type":"number"},{"name":"6","default":"1","description":"The green component of the vertex color.","type":"number"},{"name":"7","default":"1","description":"The blue component of the vertex color.","type":"number"},{"name":"8","default":"1","description":"The alpha component of the vertex color.","type":"number"}],"description":"The table filled with vertex information tables for each vertex as follows:","type":"table"},{"name":"mode","default":"'fan'","description":"How the vertices are used when drawing. The default mode 'fan' is sufficient for simple convex polygons.","type":"MeshDrawMode"},{"name":"usage","default":"'dynamic'","description":"The expected usage of the Mesh. The specified usage mode affects the Mesh's memory usage and performance.","type":"SpriteBatchUsage"}],"description":"Creates a new Mesh.\n\nUse Mesh:setTexture if the Mesh should be textured with an Image or Canvas when it's drawn.\n\nIn versions prior to 11.0, color and byte component values were within the range of 0 to 255 instead of 0 to 1.","returns":[{"name":"mesh","description":"The new mesh.","type":"Mesh"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.newMesh","namespace":"love.graphics","name":"newMesh"}},"love.math.getRandomSeed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_getRandomSeed","description":"Gets the seed of the random number generator.\n\nThe seed is split into two numbers due to Lua's use of doubles for all number values - doubles can't accurately represent integer values above 2^53, but the seed can be an integer value up to 2^64.","returns":[{"name":"low","description":"Integer number representing the lower 32 bits of the random number generator's 64 bit seed value.","type":"number"},{"name":"high","description":"Integer number representing the higher 32 bits of the random number generator's 64 bit seed value.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.getRandomSeed","namespace":"love.math","name":"getRandomSeed"}},"love.window.setFullscreen":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_setFullscreen","arguments":[{"name":"fullscreen","description":"Whether to enter or exit fullscreen mode.","type":"boolean"}],"description":"Enters or exits fullscreen. The display to use when entering fullscreen is chosen based on which display the window is currently in, if multiple monitors are connected.","returns":[{"name":"success","description":"True if an attempt to enter fullscreen was successful, false otherwise.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.setFullscreen","namespace":"love.window","name":"setFullscreen"}},"love.filesystem.isFused":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_isFused","description":"Gets whether the game is in fused mode or not.\n\nIf a game is in fused mode, its save directory will be directly in the Appdata directory instead of Appdata/LOVE/. The game will also be able to load C Lua dynamic libraries which are located in the save directory.\n\nA game is in fused mode if the source .love has been fused to the executable (see Game Distribution), or if '--fused' has been given as a command-line argument when starting the game.","returns":[{"name":"fused","description":"True if the game is in fused mode, false otherwise.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.isFused","namespace":"love.filesystem","name":"isFused"}},"love.graphics.Video":{"meta":{"name":"Video","supertypes":["Drawable","Object"],"wiki_link":"https://love2d.org/wiki/Video","constructors":["newVideo"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Video","namespace":"love.graphics","description":"A drawable video."}},"love.graphics.SpriteBatch":{"meta":{"name":"SpriteBatch","supertypes":["Drawable","Object"],"wiki_link":"https://love2d.org/wiki/SpriteBatch","constructors":["newSpriteBatch"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_SpriteBatch","namespace":"love.graphics","description":"Using a single image, draw any number of identical copies of the image using a single call to love.graphics.draw(). This can be used, for example, to draw repeating copies of a single background image with high performance.\n\nA SpriteBatch can be even more useful when the underlying image is a texture atlas (a single image file containing many independent images); by adding Quads to the batch, different sub-images from within the atlas can be drawn."}},"love.filesystem.getAppdataDirectory":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_getAppdataDirectory","description":"Returns the application data directory (could be the same as getUserDirectory)","returns":[{"name":"path","description":"The path of the application data directory","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.getAppdataDirectory","namespace":"love.filesystem","name":"getAppdataDirectory"}},"love.graphics.setFont":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setFont","arguments":[{"name":"font","description":"The Font object to use.","type":"Font"}],"description":"Set an already-loaded Font as the current font or create and load a new one from the file and size.\n\nIt's recommended that Font objects are created with love.graphics.newFont in the loading stage and then passed to this function in the drawing stage.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setFont","namespace":"love.graphics","name":"setFont"}},"love.joystick.loadGamepadMappings":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#joystick_loadGamepadMappings","arguments":[{"name":"filename","description":"The filename to load the mappings string from.","type":"string"}],"description":"Loads a gamepad mappings string or file created with love.joystick.saveGamepadMappings.\n\nIt also recognizes any SDL gamecontroller mapping string, such as those created with Steam's Big Picture controller configure interface, or this nice database. If a new mapping is loaded for an already known controller GUID, the later version will overwrite the one currently loaded.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.joystick.loadGamepadMappings","namespace":"love.joystick","name":"loadGamepadMappings"}},"love.mouse.setY":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_setY","arguments":[{"name":"y","description":"The new position of the mouse along the y-axis.","type":"number"}],"description":"Sets the current Y position of the mouse.\n\nNon-integer values are floored.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.setY","namespace":"love.mouse","name":"setY"}},"love.video.newVideoStream":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#video_newVideoStream","arguments":[{"name":"filename","description":"The file path to the Ogg Theora video file.","type":"string"}],"description":"Creates a new VideoStream. Currently only Ogg Theora video files are supported. VideoStreams can't draw videos, see love.graphics.newVideo for that.","returns":[{"name":"videostream","description":"A new VideoStream.","type":"VideoStream"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.video.newVideoStream","namespace":"love.video","name":"newVideoStream"}},"love.physics.Shape":{"meta":{"supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Shape","name":"Shape","prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Shape","namespace":"love.physics","description":"Shapes are solid 2d geometrical objects which handle the mass and collision of a Body in love.physics.\n\nShapes are attached to a Body via a Fixture. The Shape object is copied when this happens. \n\nThe Shape's position is relative to the position of the Body it has been attached to."}},"love.event.push":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#event_push","arguments":[{"name":"n","description":"The name of the event.","type":"Event"},{"name":"a","default":"nil","description":"First event argument.","type":"Variant"},{"name":"b","default":"nil","description":"Second event argument.","type":"Variant"},{"name":"c","default":"nil","description":"Third event argument.","type":"Variant"},{"name":"d","default":"nil","description":"Fourth event argument.","type":"Variant"},{"name":"e","default":"nil","description":"Fifth event argument.","type":"Variant"},{"name":"f","default":"nil","description":"Sixth event argument.","type":"Variant"},{"name":"...","default":"nil","description":"Further event arguments may follow.","type":"Variant"}],"description":"Adds an event to the event queue.\n\nFrom 0.10.0 onwards, you may pass an arbitrary amount of arguments with this function, though the default callbacks don't ever use more than six.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.event.push","namespace":"love.event","name":"push"}},"love.graphics.getCanvasFormats":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getCanvasFormats","description":"Gets the available Canvas formats, and whether each is supported.","returns":[{"name":"formats","description":"A table containing CanvasFormats as keys, and a boolean indicating whether the format is supported as values. Not all systems support all formats.","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getCanvasFormats","namespace":"love.graphics","name":"getCanvasFormats"}},"love.mouse.newCursor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_newCursor","arguments":[{"name":"imageData","description":"The ImageData to use for the new Cursor.","type":"ImageData"},{"name":"hotx","default":"0","description":"The x-coordinate in the ImageData of the cursor's hot spot.","type":"number"},{"name":"hoty","default":"0","description":"The y-coordinate in the ImageData of the cursor's hot spot.","type":"number"}],"description":"Creates a new hardware Cursor object from an image file or ImageData.\n\nHardware cursors are framerate-independent and work the same way as normal operating system cursors. Unlike drawing an image at the mouse's current coordinates, hardware cursors never have visible lag between when the mouse is moved and when the cursor position updates, even at low framerates.\n\nThe hot spot is the point the operating system uses to determine what was clicked and at what position the mouse cursor is. For example, the normal arrow pointer normally has its hot spot at the top left of the image, but a crosshair cursor might have it in the middle.","returns":[{"name":"cursor","description":"The new Cursor object.","type":"Cursor"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.newCursor","namespace":"love.mouse","name":"newCursor"}},"love.window.isVisible":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_isVisible","description":"Checks if the game window is visible.\n\nThe window is considered visible if it's not minimized and the program isn't hidden.","returns":[{"name":"visible","description":"True if the window is visible or false if not.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.isVisible","namespace":"love.window","name":"isVisible"}},"love.physics.newPolygonShape":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newPolygonShape","arguments":[{"name":"x1","description":"The x position of the first point.","type":"number"},{"name":"y1","description":"The y position of the first point.","type":"number"},{"name":"x2","description":"The x position of the second point.","type":"number"},{"name":"y2","description":"The y position of the second point.","type":"number"},{"name":"x3","description":"The x position of the third point.","type":"number"},{"name":"y3","description":"The y position of the third point.","type":"number"},{"name":"...","description":"You can continue passing more point positions to create the PolygonShape.","type":"number"}],"description":"Creates a new PolygonShape.\n\nThis shape can have 8 vertices at most, and must form a convex shape.","returns":[{"name":"shape","description":"A new PolygonShape.","type":"PolygonShape"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newPolygonShape","namespace":"love.physics","name":"newPolygonShape"}},"love.filesystem.getWorkingDirectory":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_getWorkingDirectory","description":"Gets the current working directory.","returns":[{"name":"cwd","description":"The current working directory.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.getWorkingDirectory","namespace":"love.filesystem","name":"getWorkingDirectory"}},"love.mouse.isDown":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_isDown","arguments":[{"name":"button","description":"The index of a button to check. 1 is the primary mouse button, 2 is the secondary mouse button and 3 is the middle button. Further buttons are mouse dependant.","type":"number"},{"name":"...","description":"Additional button numbers to check.","type":"number"}],"description":"Checks whether a certain mouse button is down.\n\nThis function does not detect mouse wheel scrolling; you must use the love.wheelmoved (or love.mousepressed in version 0.9.2 and older) callback for that. ","returns":[{"name":"down","description":"True if any specified button is down.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.isDown","namespace":"love.mouse","name":"isDown"}},"love.audio.getActiveSourceCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_getActiveSourceCount","description":"Gets the current number of simultaneously playing sources.","returns":[{"name":"count","description":"The current number of simultaneously playing sources.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.getActiveSourceCount","namespace":"love.audio","name":"getActiveSourceCount"}},"love.joystick.getJoysticks":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#joystick_getJoysticks","description":"Gets a list of connected Joysticks.","returns":[{"name":"joysticks","description":"The list of currently connected Joysticks.","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.joystick.getJoysticks","namespace":"love.joystick","name":"getJoysticks"}},"love.math.newBezierCurve":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_newBezierCurve","arguments":[{"name":"vertices","description":"The vertices of the control polygon as a table in the form of {x1, y1, x2, y2, x3, y3, ...}.","type":"table"}],"description":"Creates a new BezierCurve object.\n\nThe number of vertices in the control polygon determines the degree of the curve, e.g. three vertices define a quadratic (degree 2) Bézier curve, four vertices define a cubic (degree 3) Bézier curve, etc.","returns":[{"name":"curve","description":"A Bézier curve object.","type":"BezierCurve"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.newBezierCurve","namespace":"love.math","name":"newBezierCurve"}},"love.audio.setDopplerScale":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_setDopplerScale","arguments":[{"name":"scale","description":"The new doppler scale factor. The scale must be greater than 0.","type":"number"}],"description":"Sets a global scale factor for velocity-based doppler effects. The default scale value is 1.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.setDopplerScale","namespace":"love.audio","name":"setDopplerScale"}},"love.mouse.setX":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_setX","arguments":[{"name":"x","description":"The new position of the mouse along the x-axis.","type":"number"}],"description":"Sets the current X position of the mouse.\n\nNon-integer values are floored.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.setX","namespace":"love.mouse","name":"setX"}},"love.Data.getPointer":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Data_getPointer","description":"Gets a pointer to the Data. Can be used with libraries such as LuaJIT's FFI.","returns":[{"name":"pointer","description":"A raw pointer to the Data.","type":"light userdata"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Data:getPointer","namespace":"love.Data","name":"getPointer"}},"love.physics.Body":{"meta":{"name":"Body","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Body","constructors":["newBody"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Body","namespace":"love.physics","description":"Bodies are objects with velocity and position."}},"love.physics.setMeter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_setMeter","arguments":[{"name":"scale","description":"The scale factor as an integer.","type":"number"}],"description":"Sets the pixels to meter scale factor.\n\nAll coordinates in the physics module are divided by this number and converted to meters, and it creates a convenient way to draw the objects directly to the screen without the need for graphics transformations.\n\nIt is recommended to create shapes no larger than 10 times the scale. This is important because Box2D is tuned to work well with shape sizes from 0.1 to 10 meters. The default meter scale is 30.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.setMeter","namespace":"love.physics","name":"setMeter"}},"love.filesystem.load":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_load","arguments":[{"name":"name","description":"The name (and path) of the file.","type":"string"}],"description":"Loads a Lua file (but does not run it).","returns":[{"name":"chunk","description":"The loaded chunk.","type":"function"},{"name":"errormsg","description":"The error message if file could not be opened.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.load","namespace":"love.filesystem","name":"load"}},"love.event.wait":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#event_wait","description":"Like love.event.poll(), but blocks until there is an event in the queue.","returns":[{"name":"n","description":"The name of event.","type":"Event"},{"name":"a","description":"First event argument.","type":"Variant"},{"name":"b","description":"Second event argument.","type":"Variant"},{"name":"c","description":"Third event argument.","type":"Variant"},{"name":"d","description":"Fourth event argument.","type":"Variant"},{"name":"e","description":"Fifth event argument.","type":"Variant"},{"name":"f","description":"Sixth event argument.","type":"Variant"},{"name":"...","description":"Further event arguments may follow.","type":"Variant"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.event.wait","namespace":"love.event","name":"wait"}},"love.physics.newRevoluteJoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newRevoluteJoint","arguments":[{"name":"body1","description":"The first body.","type":"Body"},{"name":"body2","description":"The second body.","type":"Body"},{"name":"x","description":"The x position of the connecting point.","type":"number"},{"name":"y","description":"The y position of the connecting point.","type":"number"},{"name":"collideConnected","default":"false","description":"Specifies whether the two bodies should collide with each other.","type":"boolean"}],"description":"Creates a pivot joint between two bodies.\n\nThis joint connects two bodies to a point around which they can pivot.","returns":[{"name":"joint","description":"The new revolute joint.","type":"RevoluteJoint"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newRevoluteJoint","namespace":"love.physics","name":"newRevoluteJoint"}},"love.font.newTrueTypeRasterizer":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#font_newTrueTypeRasterizer","arguments":[{"name":"size","default":"12","description":"The font size.","type":"number"},{"name":"hinting","default":"'normal'","description":"True Type hinting mode.","type":"HintingMode"},{"name":"dpiscale","default":"love.window.getDPIScale()","description":"The font DPI scale.","type":"number"}],"description":"Creates a new TrueType Rasterizer.","returns":[{"name":"rasterizer","description":"The rasterizer.","type":"Rasterizer"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.font.newTrueTypeRasterizer","namespace":"love.font","name":"newTrueTypeRasterizer"}},"love.graphics.printf":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_printf","arguments":[{"name":"text","description":"A text string.","type":"string"},{"name":"x","description":"The position on the x-axis.","type":"number"},{"name":"y","description":"The position on the y-axis.","type":"number"},{"name":"limit","description":"Wrap the line after this many horizontal pixels.","type":"number"},{"name":"align","default":"'left'","description":"The alignment.","type":"AlignMode"},{"name":"r","default":"0","description":"Orientation (radians).","type":"number"},{"name":"sx","default":"1","description":"Scale factor (x-axis).","type":"number"},{"name":"sy","default":"sx","description":"Scale factor (y-axis).","type":"number"},{"name":"ox","default":"0","description":"Origin offset (x-axis).","type":"number"},{"name":"oy","default":"0","description":"Origin offset (y-axis).","type":"number"},{"name":"kx","default":"0","description":"Shearing factor (x-axis).","type":"number"},{"name":"ky","default":"0","description":"Shearing factor (y-axis).","type":"number"}],"description":"Draws formatted text, with word wrap and alignment.\n\nSee additional notes in love.graphics.print.\n\nThe word wrap limit is applied before any scaling, rotation, and other coordinate transformations. Therefore the amount of text per line stays constant given the same wrap limit, even if the scale arguments change.\n\nIn version 0.9.2 and earlier, wrapping was implemented by breaking up words by spaces and putting them back together to make sure things fit nicely within the limit provided. However, due to the way this is done, extra spaces between words would end up missing when printed on the screen, and some lines could overflow past the provided wrap limit. In version 0.10.0 and newer this is no longer the case.\n\nIn versions prior to 11.0, color and byte component values were within the range of 0 to 255 instead of 0 to 1.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.printf","namespace":"love.graphics","name":"printf"}},"love.physics.newPulleyJoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newPulleyJoint","arguments":[{"name":"body1","description":"The first body to connect with a pulley joint.","type":"Body"},{"name":"body2","description":"The second body to connect with a pulley joint.","type":"Body"},{"name":"gx1","description":"The x coordinate of the first body's ground anchor.","type":"number"},{"name":"gy1","description":"The y coordinate of the first body's ground anchor.","type":"number"},{"name":"gx2","description":"The x coordinate of the second body's ground anchor.","type":"number"},{"name":"gy2","description":"The y coordinate of the second body's ground anchor.","type":"number"},{"name":"x1","description":"The x coordinate of the pulley joint anchor in the first body.","type":"number"},{"name":"y1","description":"The y coordinate of the pulley joint anchor in the first body.","type":"number"},{"name":"x2","description":"The x coordinate of the pulley joint anchor in the second body.","type":"number"},{"name":"y2","description":"The y coordinate of the pulley joint anchor in the second body.","type":"number"},{"name":"ratio","default":"1","description":"The joint ratio.","type":"number"},{"name":"collideConnected","default":"true","description":"Specifies whether the two bodies should collide with each other.","type":"boolean"}],"description":"Creates a PulleyJoint to join two bodies to each other and the ground.\n\nThe pulley joint simulates a pulley with an optional block and tackle. If the ratio parameter has a value different from one, then the simulated rope extends faster on one side than the other. In a pulley joint the total length of the simulated rope is the constant length1 + ratio * length2, which is set when the pulley joint is created.\n\nPulley joints can behave unpredictably if one side is fully extended. It is recommended that the method setMaxLengths be used to constrain the maximum lengths each side can attain.","returns":[{"name":"joint","description":"The new pulley joint.","type":"PulleyJoint"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newPulleyJoint","namespace":"love.physics","name":"newPulleyJoint"}},"love.physics.newPrismaticJoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newPrismaticJoint","arguments":[{"name":"body1","description":"The first body to connect with a prismatic joint.","type":"Body"},{"name":"body2","description":"The second body to connect with a prismatic joint.","type":"Body"},{"name":"x","description":"The x coordinate of the anchor point.","type":"number"},{"name":"y","description":"The y coordinate of the anchor point.","type":"number"},{"name":"ax","description":"The x coordinate of the axis vector.","type":"number"},{"name":"ay","description":"The y coordinate of the axis vector.","type":"number"},{"name":"collideConnected","default":"false","description":"Specifies whether the two bodies should collide with each other.","type":"boolean"}],"description":"Creates a PrismaticJoint between two bodies.\n\nA prismatic joint constrains two bodies to move relatively to each other on a specified axis. It does not allow for relative rotation. Its definition and operation are similar to a revolute joint, but with translation and force substituted for angle and torque.","returns":[{"name":"joint","description":"The new prismatic joint.","type":"PrismaticJoint"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newPrismaticJoint","namespace":"love.physics","name":"newPrismaticJoint"}},"love.graphics.setDepthMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setDepthMode","arguments":[{"name":"comparemode","description":"Depth comparison mode used for depth testing.","type":"CompareMode"},{"name":"write","description":"Whether to write update / write values to the depth buffer when rendering.","type":"boolean"}],"description":"Configures depth testing and writing to the depth buffer.\n\nThis is low-level functionality designed for use with custom vertex shaders and Meshes with custom vertex attributes. No higher level APIs are provided to set the depth of 2D graphics such as shapes, lines, and Images.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setDepthMode","namespace":"love.graphics","name":"setDepthMode"}},"love.physics.newGearJoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newGearJoint","arguments":[{"name":"joint1","description":"The first joint to connect with a gear joint.","type":"Joint"},{"name":"joint2","description":"The second joint to connect with a gear joint.","type":"Joint"},{"name":"ratio","default":"1","description":"The gear ratio.","type":"number"},{"name":"collideConnected","default":"false","description":"Specifies whether the two bodies should collide with each other.","type":"boolean"}],"description":"Create a GearJoint connecting two Joints.\n\nThe gear joint connects two joints that must be either prismatic or revolute joints. Using this joint requires that the joints it uses connect their respective bodies to the ground and have the ground as the first body. When destroying the bodies and joints you must make sure you destroy the gear joint before the other joints.\n\nThe gear joint has a ratio the determines how the angular or distance values of the connected joints relate to each other. The formula coordinate1 + ratio * coordinate2 always has a constant value that is set when the gear joint is created.","returns":[{"name":"joint","description":"The new gear joint.","type":"GearJoint"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newGearJoint","namespace":"love.physics","name":"newGearJoint"}},"love.physics.newFrictionJoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newFrictionJoint","arguments":[{"name":"body1","description":"The first body to attach to the joint.","type":"Body"},{"name":"body2","description":"The second body to attach to the joint.","type":"Body"},{"name":"x","description":"The x position of the anchor point.","type":"number"},{"name":"y","description":"The y position of the anchor point.","type":"number"},{"name":"collideConnected","default":"false","description":"Specifies whether the two bodies should collide with each other.","type":"boolean"}],"description":"Create a friction joint between two bodies. A FrictionJoint applies friction to a body.","returns":[{"name":"joint","description":"The new FrictionJoint.","type":"FrictionJoint"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newFrictionJoint","namespace":"love.physics","name":"newFrictionJoint"}},"love.physics.newFixture":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newFixture","arguments":[{"name":"body","description":"The body which gets the fixture attached.","type":"Body"},{"name":"shape","description":"The shape to be copied to the fixture.","type":"Shape"},{"name":"density","default":"1","description":"The density of the fixture.","type":"number"}],"description":"Creates and attaches a Fixture to a body.\n\nNote that the Shape object is copied rather than kept as a reference when the Fixture is created. To get the Shape object that the Fixture owns, use Fixture:getShape.","returns":[{"name":"fixture","description":"The new fixture.","type":"Fixture"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newFixture","namespace":"love.physics","name":"newFixture"}},"love.graphics.setScissor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setScissor","arguments":[{"name":"x","description":"x coordinate of upper left corner.","type":"number"},{"name":"y","description":"y coordinate of upper left corner.","type":"number"},{"name":"width","description":"width of clipping rectangle.","type":"number"},{"name":"height","description":"height of clipping rectangle.","type":"number"}],"description":"Sets or disables scissor.\n\nThe scissor limits the drawing area to a specified rectangle. This affects all graphics calls, including love.graphics.clear. \n\nThe dimensions of the scissor is unaffected by graphical transformations (translate, scale, ...).","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setScissor","namespace":"love.graphics","name":"setScissor"}},"love.graphics.getLineWidth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getLineWidth","description":"Gets the current line width.","returns":[{"name":"width","description":"The current line width.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getLineWidth","namespace":"love.graphics","name":"getLineWidth"}},"love.physics.newBody":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newBody","arguments":[{"name":"world","description":"The world to create the body in.","type":"World"},{"name":"x","default":"0","description":"The x position of the body.","type":"number"},{"name":"y","default":"0","description":"The y position of the body.","type":"number"},{"name":"type","default":"'static'","description":"The type of the body.","type":"BodyType"}],"description":"Creates a new body.\n\nThere are three types of bodies. \n\n* Static bodies do not move, have a infinite mass, and can be used for level boundaries. \n\n* Dynamic bodies are the main actors in the simulation, they collide with everything. \n\n* Kinematic bodies do not react to forces and only collide with dynamic bodies.\n\nThe mass of the body gets calculated when a Fixture is attached or removed, but can be changed at any time with Body:setMass or Body:resetMassData.","returns":[{"name":"body","description":"A new body.","type":"Body"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newBody","namespace":"love.physics","name":"newBody"}},"love.graphics.getBackgroundColor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getBackgroundColor","description":"Gets the current background color.\n\nIn versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1.","returns":[{"name":"r","description":"The red component (0-1).","type":"number"},{"name":"g","description":"The green component (0-1).","type":"number"},{"name":"b","description":"The blue component (0-1).","type":"number"},{"name":"a","description":"The alpha component (0-1).","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getBackgroundColor","namespace":"love.graphics","name":"getBackgroundColor"}},"love.mouse.Cursor":{"meta":{"name":"Cursor","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Cursor","constructors":["getCursor","newCursor","getSystemCursor"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Cursor","namespace":"love.mouse","description":"Represents a hardware cursor."}},"love.keyboard.setKeyRepeat":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#keyboard_setKeyRepeat","arguments":[{"name":"enable","description":"Whether repeat keypress events should be enabled when a key is held down.","type":"boolean"}],"description":"Enables or disables key repeat for love.keypressed. It is disabled by default.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.keyboard.setKeyRepeat","namespace":"love.keyboard","name":"setKeyRepeat"}},"love.graphics.discard":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_discard","arguments":[{"name":"discardcolor","default":"true","description":"Whether to discard the texture(s) of the active Canvas(es) (the contents of the screen if no Canvas is active.)","type":"boolean"},{"name":"discardstencil","default":"true","description":"Whether to discard the contents of the stencil buffer of the screen / active Canvas.","type":"boolean"}],"description":"Discards (trashes) the contents of the screen or active Canvas. This is a performance optimization function with niche use cases.\n\nIf the active Canvas has just been changed and the 'replace' BlendMode is about to be used to draw something which covers the entire screen, calling love.graphics.discard rather than calling love.graphics.clear or doing nothing may improve performance on mobile devices.\n\nOn some desktop systems this function may do nothing.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.discard","namespace":"love.graphics","name":"discard"}},"love.mouse.isGrabbed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_isGrabbed","description":"Checks if the mouse is grabbed.","returns":[{"name":"grabbed","description":"True if the cursor is grabbed, false if it is not.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.isGrabbed","namespace":"love.mouse","name":"isGrabbed"}},"love.mouse.getY":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_getY","description":"Returns the current y-position of the mouse.","returns":[{"name":"y","description":"The position of the mouse along the y-axis.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.getY","namespace":"love.mouse","name":"getY"}},"love.mouse.getSystemCursor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_getSystemCursor","arguments":[{"name":"ctype","description":"The type of system cursor to get. ","type":"CursorType"}],"description":"Gets a Cursor object representing a system-native hardware cursor.\n\nHardware cursors are framerate-independent and work the same way as normal operating system cursors. Unlike drawing an image at the mouse's current coordinates, hardware cursors never have visible lag between when the mouse is moved and when the cursor position updates, even at low framerates.","returns":[{"name":"cursor","description":"The Cursor object representing the system cursor type.","type":"Cursor"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.getSystemCursor","namespace":"love.mouse","name":"getSystemCursor"}},"love.mouse.getPosition":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_getPosition","description":"Returns the current position of the mouse.","returns":[{"name":"x","description":"The position of the mouse along the x-axis.","type":"number"},{"name":"y","description":"The position of the mouse along the y-axis.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.getPosition","namespace":"love.mouse","name":"getPosition"}},"love.mouse.getCursor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_getCursor","description":"Gets the current Cursor.","returns":[{"name":"cursor","description":"The current cursor, or nil if no cursor is set.","type":"Cursor"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.getCursor","namespace":"love.mouse","name":"getCursor"}},"love.data.pack":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#data_pack","arguments":[{"name":"container","description":"What type to return the encoded data as.","type":"ContainerType"},{"name":"format","description":"A string determining how the values are packed. Follows the rules of Lua 5.3's string.pack format strings.","type":"string"},{"name":"v1","description":"The first value (number, boolean, or string) to serialize.","type":"number or boolean or string"},{"name":"...","description":"Additional values to serialize.","type":"number or boolean or string"}],"description":"Packs (serializes) simple Lua values.\n\nThis function behaves the same as Lua 5.3's string.pack.","returns":[{"name":"data","description":"Data/string which contains the serialized data.","type":"Data or string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.data.pack","namespace":"love.data","name":"pack"}},"love.filesystem.getCRequirePath":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_getCRequirePath","description":"Gets the filesystem paths that will be searched for c libraries when require is called.\n\nThe paths string returned by this function is a sequence of path templates separated by semicolons. The argument passed to ''require'' will be inserted in place of any question mark ('?') character in each template (after the dot characters in the argument passed to ''require'' are replaced by directory separators.) Additionally, any occurrence of a double question mark ('??') will be replaced by the name passed to require and the default library extension for the platform.\n\nThe paths are relative to the game's source and save directories, as well as any paths mounted with love.filesystem.mount.","returns":[{"name":"paths","description":"The paths that the ''require'' function will check for c libraries in love's filesystem.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.getCRequirePath","namespace":"love.filesystem","name":"getCRequirePath"}},"love.math.Transform":{"meta":{"name":"Transform","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Transform","constructors":["newTransform"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Transform","namespace":"love.math","description":"Object containing a coordinate system transformation.\n\nThe love.graphics module has several functions and function variants which accept Transform objects."}},"love.graphics.setBackgroundColor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setBackgroundColor","arguments":[{"name":"red","description":"The red component (0-1).","type":"number"},{"name":"green","description":"The green component (0-1).","type":"number"},{"name":"blue","description":"The blue component (0-1).","type":"number"},{"name":"alpha","default":"1","description":"The alpha component (0-1).","type":"number"}],"description":"Sets the background color.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setBackgroundColor","namespace":"love.graphics","name":"setBackgroundColor"}},"love.mouse.setGrabbed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_setGrabbed","arguments":[{"name":"grab","description":"True to confine the mouse, false to let it leave the window.","type":"boolean"}],"description":"Grabs the mouse and confines it to the window.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.setGrabbed","namespace":"love.mouse","name":"setGrabbed"}},"love.filesystem.getSource":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_getSource","description":"Returns the full path to the the .love file or directory. If the game is fused to the LÖVE executable, then the executable is returned.","returns":[{"name":"path","description":"The full platform-dependent path of the .love file or directory.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.getSource","namespace":"love.filesystem","name":"getSource"}},"love.graphics.ellipse":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_ellipse","arguments":[{"name":"mode","description":"How to draw the ellipse.","type":"DrawMode"},{"name":"x","description":"The position of the center along x-axis.","type":"number"},{"name":"y","description":"The position of the center along y-axis.","type":"number"},{"name":"radiusx","description":"The radius of the ellipse along the x-axis (half the ellipse's width).","type":"number"},{"name":"radiusy","description":"The radius of the ellipse along the y-axis (half the ellipse's height).","type":"number"}],"description":"Draws an ellipse.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.ellipse","namespace":"love.graphics","name":"ellipse"}},"love.math.setRandomSeed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_setRandomSeed","arguments":[{"name":"seed","description":"The integer number with which you want to seed the randomization. Must be within the range of 2^53 - 1.","type":"number"}],"description":"Sets the seed of the random number generator using the specified integer number. This is called internally at startup, so you generally don't need to call it yourself.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.setRandomSeed","namespace":"love.math","name":"setRandomSeed"}},"love.font.newGlyphData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#font_newGlyphData","arguments":[{"name":"rasterizer","description":"The Rasterizer containing the font.","type":"Rasterizer"},{"name":"glyph","description":"The character code of the glyph.","type":"number"}],"description":"Creates a new GlyphData.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.font.newGlyphData","namespace":"love.font","name":"newGlyphData"}},"love.graphics.getFrontFaceWinding":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getFrontFaceWinding","description":"Gets whether triangles with clockwise- or counterclockwise-ordered vertices are considered front-facing.\n\nThis is designed for use in combination with Mesh face culling. Other love.graphics shapes, lines, and sprites are not guaranteed to have a specific winding order to their internal vertices.","returns":[{"name":"winding","description":"The winding mode being used. The default winding is counterclockwise ('ccw').","type":"VertexWinding"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getFrontFaceWinding","namespace":"love.graphics","name":"getFrontFaceWinding"}},"love.math.randomNormal":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_randomNormal","arguments":[{"name":"stddev","default":"1","description":"Standard deviation of the distribution.","type":"number"},{"name":"mean","default":"0","description":"The mean of the distribution.","type":"number"}],"description":"Get a normally distributed pseudo random number.","returns":[{"name":"number","description":"Normally distributed random number with variance (stddev)² and the specified mean.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.randomNormal","namespace":"love.math","name":"randomNormal"}},"love.math.random":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_random","description":"Generates a pseudo-random number in a platform independent manner. The default love.run seeds this function at startup, so you generally don't need to seed it yourself.","returns":[{"name":"number","description":"The pseudo-random number.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.random","namespace":"love.math","name":"random"}},"love.math.noise":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_noise","arguments":[{"name":"x","description":"The number used to generate the noise value.","type":"number"}],"description":"Generates a Simplex or Perlin noise value in 1-4 dimensions. The return value will always be the same, given the same arguments.\n\nSimplex noise is closely related to Perlin noise. It is widely used for procedural content generation.\n\nThere are many webpages which discuss Perlin and Simplex noise in detail.","returns":[{"name":"value","description":"The noise value in the range of 1.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.noise","namespace":"love.math","name":"noise"}},"love.math.newTransform":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_newTransform","description":"Creates a new Transform object.","returns":[{"name":"transform","description":"The new Transform object.","type":"Transform"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.newTransform","namespace":"love.math","name":"newTransform"}},"love.graphics.inverseTransformPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_inverseTransformPoint","arguments":[{"name":"screenX","description":"The x component of the screen-space position.","type":"number"},{"name":"screenY","description":"The y component of the screen-space position.","type":"number"}],"description":"Converts the given 2D position from screen-space into global coordinates.\n\nThis effectively applies the reverse of the current graphics transformations to the given position. A similar Transform:inverseTransformPoint method exists for Transform objects.","returns":[{"name":"globalX","description":"The x component of the position in global coordinates.","type":"number"},{"name":"globalY","description":"The y component of the position in global coordinates.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.inverseTransformPoint","namespace":"love.graphics","name":"inverseTransformPoint"}},"love.math.newRandomGenerator":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_newRandomGenerator","description":"Creates a new RandomGenerator object which is completely independent of other RandomGenerator objects and random functions.","returns":[{"name":"rng","description":"The new Random Number Generator object.","type":"RandomGenerator"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.newRandomGenerator","namespace":"love.math","name":"newRandomGenerator"}},"love.math.linearToGamma":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_linearToGamma","arguments":[{"name":"lr","description":"The red channel of the linear RGB color to convert.","type":"number"},{"name":"lg","description":"The green channel of the linear RGB color to convert.","type":"number"},{"name":"lb","description":"The blue channel of the linear RGB color to convert.","type":"number"}],"description":"Converts a color from linear-space (RGB) to gamma-space (sRGB). This is useful when storing linear RGB color values in an image, because the linear RGB color space has less precision than sRGB for dark colors, which can result in noticeable color banding when drawing.\n\nIn general, colors chosen based on what they look like on-screen are already in gamma-space and should not be double-converted. Colors calculated using math are often in the linear RGB space.\n\nRead more about gamma-correct rendering here, here, and here.\n\nIn versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1.","returns":[{"name":"cr","description":"The red channel of the converted color in gamma sRGB space.","type":"number"},{"name":"cg","description":"The green channel of the converted color in gamma sRGB space.","type":"number"},{"name":"cb","description":"The blue channel of the converted color in gamma sRGB space.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.linearToGamma","namespace":"love.math","name":"linearToGamma"}},"love.math.isConvex":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_isConvex","arguments":[{"name":"vertices","description":"The vertices of the polygon as a table in the form of {x1, y1, x2, y2, x3, y3, ...}.","type":"table"}],"description":"Checks whether a polygon is convex.\n\nPolygonShapes in love.physics, some forms of Meshes, and polygons drawn with love.graphics.polygon must be simple convex polygons.","returns":[{"name":"convex","description":"Whether the given polygon is convex.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.isConvex","namespace":"love.math","name":"isConvex"}},"love.graphics.circle":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_circle","arguments":[{"name":"mode","description":"How to draw the circle.","type":"DrawMode"},{"name":"x","description":"The position of the center along x-axis.","type":"number"},{"name":"y","description":"The position of the center along y-axis.","type":"number"},{"name":"radius","description":"The radius of the circle.","type":"number"}],"description":"Draws a circle.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.circle","namespace":"love.graphics","name":"circle"}},"love.graphics.getShader":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getShader","description":"Gets the current Shader. Returns nil if none is set.","returns":[{"name":"shader","description":"The currently active Shader, or nil if none is set.","type":"Shader"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getShader","namespace":"love.graphics","name":"getShader"}},"love.math.colorToBytes":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_colorToBytes","arguments":[{"name":"r","description":"Red color component.","type":"number"},{"name":"g","description":"Green color component.","type":"number"},{"name":"b","description":"Blue color component.","type":"number"},{"name":"a","default":"nil","description":"Alpha color component.","type":"number"}],"description":"Converts a color from 0..1 to 0..255 range.","returns":[{"name":"rb","description":"Red color component in 0..255 range.","type":"number"},{"name":"gb","description":"Green color component in 0..255 range.","type":"number"},{"name":"bb","description":"Blue color component in 0..255 range.","type":"number"},{"name":"ab","description":"Alpha color component in 0..255 range or nil if alpha is not specified.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.colorToBytes","namespace":"love.math","name":"colorToBytes"}},"love.keyboard.setTextInput":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#keyboard_setTextInput","arguments":[{"name":"enable","description":"Whether text input events should be enabled.","type":"boolean"}],"description":"Enables or disables text input events. It is enabled by default on Windows, Mac, and Linux, and disabled by default on iOS and Android.\n\nOn touch devices, this shows the system's native on-screen keyboard when it's enabled.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.keyboard.setTextInput","namespace":"love.keyboard","name":"setTextInput"}},"love.keyboard.isScancodeDown":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#keyboard_isScancodeDown","arguments":[{"name":"scancode","description":"A Scancode to check.","type":"Scancode"},{"name":"...","description":"Additional Scancodes to check.","type":"Scancode"}],"description":"Checks whether the specified Scancodes are pressed. Not to be confused with love.keypressed or love.keyreleased.\n\nUnlike regular KeyConstants, Scancodes are keyboard layout-independent. The scancode 'w' is used if the key in the same place as the 'w' key on an American keyboard is pressed, no matter what the key is labelled or what the user's operating system settings are.","returns":[{"name":"down","description":"True if any supplied Scancode is down, false if not.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.keyboard.isScancodeDown","namespace":"love.keyboard","name":"isScancodeDown"}},"love.mouse.isCursorSupported":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_isCursorSupported","description":"Gets whether cursor functionality is supported.\n\nIf it isn't supported, calling love.mouse.newCursor and love.mouse.getSystemCursor will cause an error. Mobile devices do not support cursors.","returns":[{"name":"supported","description":"Whether the system has cursor functionality.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.isCursorSupported","namespace":"love.mouse","name":"isCursorSupported"}},"love.graphics.setColor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setColor","arguments":[{"name":"red","description":"The amount of red.","type":"number"},{"name":"green","description":"The amount of green.","type":"number"},{"name":"blue","description":"The amount of blue.","type":"number"},{"name":"alpha","default":"1","description":"The amount of alpha. The alpha value will be applied to all subsequent draw operations, even the drawing of an image.","type":"number"}],"description":"Sets the color used for drawing.\n\nIn versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setColor","namespace":"love.graphics","name":"setColor"}},"love.window.restore":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_restore","description":"Restores the size and position of the window if it was minimized or maximized.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.restore","namespace":"love.window","name":"restore"}},"love.graphics.getDefaultFilter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getDefaultFilter","description":"Returns the default scaling filters used with Images, Canvases, and Fonts.","returns":[{"name":"min","description":"Filter mode used when scaling the image down.","type":"FilterMode"},{"name":"mag","description":"Filter mode used when scaling the image up.","type":"FilterMode"},{"name":"anisotropy","description":"Maximum amount of Anisotropic Filtering used.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getDefaultFilter","namespace":"love.graphics","name":"getDefaultFilter"}},"love.graphics.drawLayer":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_drawLayer","arguments":[{"name":"texture","description":"The Array Texture to draw.","type":"Texture"},{"name":"layerindex","description":"The index of the layer to use when drawing.","type":"number"},{"name":"x","default":"0","description":"The position to draw the texture (x-axis).","type":"number"},{"name":"y","default":"0","description":"The position to draw the texture (y-axis).","type":"number"},{"name":"r","default":"0","description":"Orientation (radians).","type":"number"},{"name":"sx","default":"1","description":"Scale factor (x-axis).","type":"number"},{"name":"sy","default":"sx","description":"Scale factor (y-axis).","type":"number"},{"name":"ox","default":"0","description":"Origin offset (x-axis).","type":"number"},{"name":"oy","default":"0","description":"Origin offset (y-axis).","type":"number"},{"name":"kx","default":"0","description":"Shearing factor (x-axis).","type":"number"},{"name":"ky","default":"0","description":"Shearing factor (y-axis).","type":"number"}],"description":"Draws a layer of an Array Texture.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.drawLayer","namespace":"love.graphics","name":"drawLayer"}},"love.filesystem.getDirectoryItems":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_getDirectoryItems","arguments":[{"name":"dir","description":"The directory.","type":"string"}],"description":"Returns a table with the names of files and subdirectories in the specified path. The table is not sorted in any way; the order is undefined.\n\nIf the path passed to the function exists in the game and the save directory, it will list the files and directories from both places.","returns":[{"name":"files","description":"A sequence with the names of all files and subdirectories as strings.","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.getDirectoryItems","namespace":"love.filesystem","name":"getDirectoryItems"}},"love.graphics.getColor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getColor","description":"Gets the current color.\n\nIn versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1.","returns":[{"name":"r","description":"The red component (0-1).","type":"number"},{"name":"g","description":"The green component (0-1).","type":"number"},{"name":"b","description":"The blue component (0-1).","type":"number"},{"name":"a","description":"The alpha component (0-1).","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getColor","namespace":"love.graphics","name":"getColor"}},"love.graphics.transformPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_transformPoint","arguments":[{"name":"globalX","description":"The x component of the position in global coordinates.","type":"number"},{"name":"globalY","description":"The y component of the position in global coordinates.","type":"number"}],"description":"Converts the given 2D position from global coordinates into screen-space.\n\nThis effectively applies the current graphics transformations to the given position. A similar Transform:transformPoint method exists for Transform objects.","returns":[{"name":"screenX","description":"The x component of the position with graphics transformations applied.","type":"number"},{"name":"screenY","description":"The y component of the position with graphics transformations applied.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.transformPoint","namespace":"love.graphics","name":"transformPoint"}},"love.graphics.newQuad":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_newQuad","arguments":[{"name":"x","description":"The top-left position in the Image along the x-axis.","type":"number"},{"name":"y","description":"The top-left position in the Image along the y-axis.","type":"number"},{"name":"width","description":"The width of the Quad in the Image. (Must be greater than 0.)","type":"number"},{"name":"height","description":"The height of the Quad in the Image. (Must be greater than 0.)","type":"number"},{"name":"sw","description":"The reference width, the width of the Image. (Must be greater than 0.)","type":"number"},{"name":"sh","description":"The reference height, the height of the Image. (Must be greater than 0.)","type":"number"}],"description":"Creates a new Quad.\n\nThe purpose of a Quad is to use a fraction of an image to draw objects, as opposed to drawing entire image. It is most useful for sprite sheets and atlases: in a sprite atlas, multiple sprites reside in same image, quad is used to draw a specific sprite from that image; in animated sprites with all frames residing in the same image, quad is used to draw specific frame from the animation.","returns":[{"name":"quad","description":"The new Quad.","type":"Quad"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.newQuad","namespace":"love.graphics","name":"newQuad"}},"love.physics.RevoluteJoint":{"meta":{"name":"RevoluteJoint","supertypes":["Joint","Object"],"wiki_link":"https://love2d.org/wiki/RevoluteJoint","constructors":["newRevoluteJoint"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_RevoluteJoint","namespace":"love.physics","description":"Allow two Bodies to revolve around a shared point."}},"love.filesystem.getUserDirectory":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_getUserDirectory","description":"Returns the path of the user's directory","returns":[{"name":"path","description":"The path of the user's directory","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.getUserDirectory","namespace":"love.filesystem","name":"getUserDirectory"}},"love.graphics.newArrayImage":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_newArrayImage","arguments":[{"name":"slices","description":"A table containing filepaths to images (or File, FileData, ImageData, or CompressedImageData objects), in an array. Each sub-image must have the same dimensions. A table of tables can also be given, where each sub-table contains all mipmap levels for the slice index of that sub-table.","type":"table"},{"default":"nil","name":"settings","table":[{"name":"mipmaps","default":"false","description":"True to make the image use mipmaps, false to disable them. Mipmaps will be automatically generated if the image isn't a compressed texture format.","type":"boolean"},{"name":"linear","default":"false","description":"True to treat the image's pixels as linear instead of sRGB, when gamma correct rendering is enabled. Most images are authored as sRGB.","type":"boolean"},{"name":"dpiscale","default":"1","description":"The DPI scale to use when drawing the array image and calling getWidth/getHeight.","type":"number"}],"description":"Optional table of settings to configure the array image, containing the following fields:","type":"table"}],"description":"Creates a new array Image.\n\nAn array image / array texture is a single object which contains multiple 'layers' or 'slices' of 2D sub-images. It can be thought of similarly to a texture atlas or sprite sheet, but it doesn't suffer from the same tile / quad bleeding artifacts that texture atlases do – although every sub-image must have the same dimensions.\n\nA specific layer of an array image can be drawn with love.graphics.drawLayer / SpriteBatch:addLayer, or with the Quad variant of love.graphics.draw and Quad:setLayer, or via a custom Shader.\n\nTo use an array image in a Shader, it must be declared as a ArrayImage or sampler2DArray type (instead of Image or sampler2D). The Texel(ArrayImage image, vec3 texturecoord) shader function must be used to get pixel colors from a slice of the array image. The vec3 argument contains the texture coordinate in the first two components, and the 0-based slice index in the third component.","returns":[{"name":"image","description":"An Array Image object.","type":"Image"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.newArrayImage","namespace":"love.graphics","name":"newArrayImage"}},"love.graphics.getDimensions":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getDimensions","description":"Gets the width and height in pixels of the window.","returns":[{"name":"width","description":"The width of the window.","type":"number"},{"name":"height","description":"The height of the window.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getDimensions","namespace":"love.graphics","name":"getDimensions"}},"love.audio.setDistanceModel":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_setDistanceModel","arguments":[{"name":"model","description":"The new distance model.","type":"DistanceModel"}],"description":"Sets the distance attenuation model.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.setDistanceModel","namespace":"love.audio","name":"setDistanceModel"}},"love.graphics.clear":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_clear","description":"Clears the screen or active Canvas to the specified color.\n\nThis function is called automatically before love.draw in the default love.run function. See the example in love.run for a typical use of this function.\n\nNote that the scissor area bounds the cleared region.\n\nIn versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1.\n\nIn versions prior to background color instead.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.clear","namespace":"love.graphics","name":"clear"}},"love.graphics.newCubeImage":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_newCubeImage","arguments":[{"name":"filename","description":"The filepath to a cubemap image file (or a File, FileData, or ImageData).","type":"string"},{"default":"nil","name":"settings","table":[{"name":"mipmaps","default":"false","description":"True to make the image use mipmaps, false to disable them. Mipmaps will be automatically generated if the image isn't a compressed texture format.","type":"boolean"},{"name":"linear","default":"false","description":"True to treat the image's pixels as linear instead of sRGB, when gamma correct rendering is enabled. Most images are authored as sRGB.","type":"boolean"}],"description":"Optional table of settings to configure the cubemap image, containing the following fields:","type":"table"}],"description":"Creates a new cubemap Image.\n\nCubemap images have 6 faces (sides) which represent a cube. They can't be rendered directly, they can only be used in Shader code (and sent to the shader via Shader:send).\n\nTo use a cubemap image in a Shader, it must be declared as a CubeImage or samplerCube type (instead of Image or sampler2D). The Texel(CubeImage image, vec3 direction) shader function must be used to get pixel colors from the cubemap. The vec3 argument is a normalized direction from the center of the cube, rather than explicit texture coordinates.\n\nEach face in a cubemap image must have square dimensions.\n\nFor variants of this function which accept a single image containing multiple cubemap faces, they must be laid out in one of the following forms in the image:\n\n +y\n\n+z +x -z\n\n -y\n\n -x\n\nor:\n\n +y\n\n-x +z +x -z\n\n -y\n\nor:\n\n+x\n\n-x\n\n+y\n\n-y\n\n+z\n\n-z\n\nor:\n\n+x -x +y -y +z -z","returns":[{"name":"image","description":"An cubemap Image object.","type":"Image"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.newCubeImage","namespace":"love.graphics","name":"newCubeImage"}},"love.graphics.Mesh":{"meta":{"name":"Mesh","supertypes":["Drawable","Object"],"wiki_link":"https://love2d.org/wiki/Mesh","constructors":["newMesh"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Mesh","namespace":"love.graphics","description":"A 2D polygon mesh used for drawing arbitrary textured shapes."}},"love.graphics.origin":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_origin","description":"Resets the current coordinate transformation.\n\nThis function is always used to reverse any previous calls to love.graphics.rotate, love.graphics.scale, love.graphics.shear or love.graphics.translate. It returns the current transformation state to its defaults.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.origin","namespace":"love.graphics","name":"origin"}},"love.graphics.getHeight":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getHeight","description":"Gets the height in pixels of the window.","returns":[{"name":"height","description":"The height of the window.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getHeight","namespace":"love.graphics","name":"getHeight"}},"love.graphics.getWidth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getWidth","description":"Gets the width in pixels of the window.","returns":[{"name":"width","description":"The width of the window.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getWidth","namespace":"love.graphics","name":"getWidth"}},"love.math.RandomGenerator":{"meta":{"name":"RandomGenerator","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/RandomGenerator","constructors":["newRandomGenerator"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_RandomGenerator","namespace":"love.math","description":"A random number generation object which has its own random state."}},"love.graphics.Quad":{"meta":{"name":"Quad","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Quad","constructors":["newQuad"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Quad","namespace":"love.graphics","description":"A quadrilateral (a polygon with four sides and four corners) with texture coordinate information.\n\nQuads can be used to select part of a texture to draw. In this way, one large texture atlas can be loaded, and then split up into sub-images."}},"love.mouse.setRelativeMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#mouse_setRelativeMode","arguments":[{"name":"enable","description":"True to enable relative mode, false to disable it.","type":"boolean"}],"description":"Sets whether relative mode is enabled for the mouse.\n\nWhen relative mode is enabled, the cursor is hidden and doesn't move when the mouse does, but relative mouse motion events are still generated via love.mousemoved. This lets the mouse move in any direction indefinitely without the cursor getting stuck at the edges of the screen.\n\nThe reported position of the mouse may not be updated while relative mode is enabled, even when relative mouse motion events are generated.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.mouse.setRelativeMode","namespace":"love.mouse","name":"setRelativeMode"}},"love.audio.getActiveEffects":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_getActiveEffects","description":"Gets a list of the names of the currently enabled effects.","returns":[{"name":"effects","description":"The list of the names of the currently enabled effects.","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.getActiveEffects","namespace":"love.audio","name":"getActiveEffects"}},"love.graphics.setLineJoin":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setLineJoin","arguments":[{"name":"join","description":"The LineJoin to use.","type":"LineJoin"}],"description":"Sets the line join style. See LineJoin for the possible options.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setLineJoin","namespace":"love.graphics","name":"setLineJoin"}},"love.physics.newChainShape":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newChainShape","arguments":[{"name":"loop","description":"If the chain should loop back to the first point.","type":"boolean"},{"name":"x1","description":"The x position of the first point.","type":"number"},{"name":"y1","description":"The y position of the first point.","type":"number"},{"name":"x2","description":"The x position of the second point.","type":"number"},{"name":"y2","description":"The y position of the second point.","type":"number"},{"name":"...","description":"Additional point positions.","type":"number"}],"description":"Creates a new ChainShape.","returns":[{"name":"shape","description":"The new shape.","type":"ChainShape"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newChainShape","namespace":"love.physics","name":"newChainShape"}},"love.filesystem.areSymlinksEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_areSymlinksEnabled","description":"Gets whether love.filesystem follows symbolic links.","returns":[{"name":"enable","description":"Whether love.filesystem follows symbolic links.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.areSymlinksEnabled","namespace":"love.filesystem","name":"areSymlinksEnabled"}},"love.timer.getFPS":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#timer_getFPS","description":"Returns the current frames per second.","returns":[{"name":"fps","description":"The current FPS.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.timer.getFPS","namespace":"love.timer","name":"getFPS"}},"love.window.fromPixels":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_fromPixels","arguments":[{"name":"pixelvalue","description":"A number in pixels to convert to density-independent units.","type":"number"}],"description":"Converts a number from pixels to density-independent units.\n\nThe pixel density inside the window might be greater (or smaller) than the 'size' of the window. For example on a retina screen in Mac OS X with the highdpi window flag enabled, the window may take up the same physical size as an 800x600 window, but the area inside the window uses 1600x1200 pixels. love.window.fromPixels(1600) would return 800 in that case.\n\nThis function converts coordinates from pixels to the size users are expecting them to display at onscreen. love.window.toPixels does the opposite. The highdpi window flag must be enabled to use the full pixel density of a Retina screen on Mac OS X and iOS. The flag currently does nothing on Windows and Linux, and on Android it is effectively always enabled.\n\nMost LÖVE functions return values and expect arguments in terms of pixels rather than density-independent units.","returns":[{"name":"value","description":"The converted number, in density-independent units.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.fromPixels","namespace":"love.window","name":"fromPixels"}},"love.graphics.getLineJoin":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getLineJoin","description":"Gets the line join style.","returns":[{"name":"join","description":"The LineJoin style.","type":"LineJoin"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getLineJoin","namespace":"love.graphics","name":"getLineJoin"}},"love.graphics.rectangle":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_rectangle","arguments":[{"name":"mode","description":"How to draw the rectangle.","type":"DrawMode"},{"name":"x","description":"The position of top-left corner along the x-axis.","type":"number"},{"name":"y","description":"The position of top-left corner along the y-axis.","type":"number"},{"name":"width","description":"Width of the rectangle.","type":"number"},{"name":"height","description":"Height of the rectangle.","type":"number"}],"description":"Draws a rectangle.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.rectangle","namespace":"love.graphics","name":"rectangle"}},"love.graphics.setDefaultFilter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setDefaultFilter","arguments":[{"name":"min","description":"Filter mode used when scaling the image down.","type":"FilterMode"},{"name":"mag","description":"Filter mode used when scaling the image up.","type":"FilterMode"},{"name":"anisotropy","default":"1","description":"Maximum amount of Anisotropic Filtering used.","type":"number"}],"description":"Sets the default scaling filters used with Images, Canvases, and Fonts.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setDefaultFilter","namespace":"love.graphics","name":"setDefaultFilter"}},"love.filesystem.remove":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_remove","arguments":[{"name":"name","description":"The file or directory to remove.","type":"string"}],"description":"Removes a file or empty directory.","returns":[{"name":"success","description":"True if the file/directory was removed, false otherwise.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.remove","namespace":"love.filesystem","name":"remove"}},"love.graphics.setStencilTest":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setStencilTest","arguments":[{"name":"comparemode","description":"The type of comparison to make for each pixel.","type":"CompareMode"},{"name":"comparevalue","description":"The value to use when comparing with the stencil value of each pixel. Must be between 0 and 255.","type":"number"}],"description":"Configures or disables stencil testing.\n\nWhen stencil testing is enabled, the geometry of everything that is drawn afterward will be clipped / stencilled out based on a comparison between the arguments of this function and the stencil value of each pixel that the geometry touches. The stencil values of pixels are affected via love.graphics.stencil.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setStencilTest","namespace":"love.graphics","name":"setStencilTest"}},"love.graphics.print":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_print","arguments":[{"name":"text","description":"The text to draw.","type":"string"},{"name":"x","default":"0","description":"The position to draw the object (x-axis).","type":"number"},{"name":"y","default":"0","description":"The position to draw the object (y-axis).","type":"number"},{"name":"r","default":"0","description":"Orientation (radians).","type":"number"},{"name":"sx","default":"1","description":"Scale factor (x-axis).","type":"number"},{"name":"sy","default":"sx","description":"Scale factor (y-axis).","type":"number"},{"name":"ox","default":"0","description":"Origin offset (x-axis).","type":"number"},{"name":"oy","default":"0","description":"Origin offset (y-axis).","type":"number"},{"name":"kx","default":"0","description":"Shearing factor (x-axis).","type":"number"},{"name":"ky","default":"0","description":"Shearing factor (y-axis).","type":"number"}],"description":"Draws text on screen. If no Font is set, one will be created and set (once) if needed.\n\nAs of LOVE 0.7.1, when using translation and scaling functions while drawing text, this function assumes the scale occurs first. If you don't script with this in mind, the text won't be in the right position, or possibly even on screen.\n\nlove.graphics.print and love.graphics.printf both support UTF-8 encoding. You'll also need a proper Font for special characters.\n\nIn versions prior to 11.0, color and byte component values were within the range of 0 to 255 instead of 0 to 1.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.print","namespace":"love.graphics","name":"print"}},"love.graphics.captureScreenshot":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_captureScreenshot","arguments":[{"name":"filename","description":"The filename to save the screenshot to. The encoded image type is determined based on the extension of the filename, and must be one of the ImageFormats.","type":"string"}],"description":"Creates a screenshot once the current frame is done (after love.draw has finished).\n\nSince this function enqueues a screenshot capture rather than executing it immediately, it can be called from an input callback or love.update and it will still capture all of what's drawn to the screen in that frame.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.captureScreenshot","namespace":"love.graphics","name":"captureScreenshot"}},"love.graphics.Font":{"meta":{"name":"Font","supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/Font","constructors":["getFont","newFont","setNewFont","newImageFont"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_Font","namespace":"love.graphics","description":"Defines the shape of characters that can be drawn onto the screen."}},"love.graphics.getSupported":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getSupported","description":"Gets the optional graphics features and whether they're supported on the system.\n\nSome older or low-end systems don't always support all graphics features.","returns":[{"name":"features","description":"A table containing GraphicsFeature keys, and boolean values indicating whether each feature is supported.","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getSupported","namespace":"love.graphics","name":"getSupported"}},"love.graphics.getSystemLimits":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getSystemLimits","description":"Gets the system-dependent maximum values for love.graphics features.","returns":[{"name":"limits","description":"A table containing GraphicsLimit keys, and number values.","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getSystemLimits","namespace":"love.graphics","name":"getSystemLimits"}},"love.physics.WeldJoint":{"meta":{"name":"WeldJoint","supertypes":["Joint","Object"],"wiki_link":"https://love2d.org/wiki/WeldJoint","constructors":["newWeldJoint"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_WeldJoint","namespace":"love.physics","description":"A WeldJoint essentially glues two bodies together."}},"love.physics.getMeter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_getMeter","description":"Returns the meter scale factor.\n\nAll coordinates in the physics module are divided by this number, creating a convenient way to draw the objects directly to the screen without the need for graphics transformations.\n\nIt is recommended to create shapes no larger than 10 times the scale. This is important because Box2D is tuned to work well with shape sizes from 0.1 to 10 meters.","returns":[{"name":"scale","description":"The scale factor as an integer.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.getMeter","namespace":"love.physics","name":"getMeter"}},"love.data.CompressedData":{"meta":{"name":"CompressedData","supertypes":["Data","Object"],"wiki_link":"https://love2d.org/wiki/CompressedData","constructors":["compress"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_CompressedData","namespace":"love.data","description":"Represents byte data compressed using a specific algorithm.\n\nlove.data.decompress can be used to de-compress the data (or love.math.decompress in 0.10.2 or earlier)."}},"love.graphics.push":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_push","description":"Copies and pushes the current coordinate transformation to the transformation stack.\n\nThis function is always used to prepare for a corresponding pop operation later. It stores the current coordinate transformation state into the transformation stack and keeps it active. Later changes to the transformation can be undone by using the pop operation, which returns the coordinate transform to the state it was in before calling push.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.push","namespace":"love.graphics","name":"push"}},"love.math.getRandomState":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#math_getRandomState","description":"Gets the current state of the random number generator. This returns an opaque implementation-dependent string which is only useful for later use with love.math.setRandomState or RandomGenerator:setState.\n\nThis is different from love.math.getRandomSeed in that getRandomState gets the random number generator's current state, whereas getRandomSeed gets the previously set seed number.","returns":[{"name":"state","description":"The current state of the random number generator, represented as a string.","type":"string"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.math.getRandomState","namespace":"love.math","name":"getRandomState"}},"love.window.setPosition":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_setPosition","arguments":[{"name":"x","description":"The x-coordinate of the window's position.","type":"number"},{"name":"y","description":"The y-coordinate of the window's position.","type":"number"},{"name":"display","default":"1","description":"The index of the display that the new window position is relative to.","type":"number"}],"description":"Sets the position of the window on the screen.\n\nThe window position is in the coordinate space of the specified display.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.setPosition","namespace":"love.window","name":"setPosition"}},"love.event.pump":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#event_pump","description":"Pump events into the event queue.\n\nThis is a low-level function, and is usually not called by the user, but by love.run.\n\nNote that this does need to be called for any OS to think you're still running,\n\nand if you want to handle OS-generated events at all (think callbacks).","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.event.pump","namespace":"love.event","name":"pump"}},"love.graphics.getPixelWidth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getPixelWidth","description":"Gets the width in pixels of the window.\n\nThe graphics coordinate system and DPI scale factor, rather than raw pixels. Use getWidth for calculations related to drawing to the screen and using the coordinate system (calculating the center of the screen, for example), and getPixelWidth only when dealing specifically with underlying pixels (pixel-related calculations in a pixel Shader, for example).","returns":[{"name":"pixelwidth","description":"The width of the window in pixels.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getPixelWidth","namespace":"love.graphics","name":"getPixelWidth"}},"love.graphics.rotate":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_rotate","arguments":[{"name":"angle","description":"The amount to rotate the coordinate system in radians.","type":"number"}],"description":"Rotates the coordinate system in two dimensions.\n\nCalling this function affects all future drawing operations by rotating the coordinate system around the origin by the given amount of radians. This change lasts until love.draw() exits.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.rotate","namespace":"love.graphics","name":"rotate"}},"love.graphics.setBlendMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_setBlendMode","arguments":[{"name":"mode","description":"The blend mode to use.","type":"BlendMode"}],"description":"Sets the blending mode.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.setBlendMode","namespace":"love.graphics","name":"setBlendMode"}},"love.physics.MouseJoint":{"meta":{"name":"MouseJoint","supertypes":["Joint","Object"],"wiki_link":"https://love2d.org/wiki/MouseJoint","constructors":["newMouseJoint"],"prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_MouseJoint","namespace":"love.physics","description":"For controlling objects with the mouse."}},"love.audio.getDopplerScale":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_getDopplerScale","description":"Gets the current global scale factor for velocity-based doppler effects.","returns":[{"name":"scale","description":"The current doppler scale factor.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.getDopplerScale","namespace":"love.audio","name":"getDopplerScale"}},"love.filesystem.mount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#filesystem_mount","arguments":[{"name":"archive","description":"The folder or zip file in the game's save directory to mount.","type":"string"},{"name":"mountpoint","description":"The new path the archive will be mounted to.","type":"string"},{"name":"appendToPath","default":"false","description":"Whether the archive will be searched when reading a filepath before or after already-mounted archives. This includes the game's source and save directories.","type":"boolean"}],"description":"Mounts a zip file or folder in the game's save directory for reading.\n\nIt is also possible to mount love.filesystem.getSourceBaseDirectory if the game is in fused mode.","returns":[{"name":"success","description":"True if the archive was successfully mounted, false otherwise.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.filesystem.mount","namespace":"love.filesystem","name":"mount"}},"love.graphics.stencil":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_stencil","arguments":[{"name":"stencilfunction","description":"Function which draws geometry. The stencil values of pixels, rather than the color of each pixel, will be affected by the geometry.","type":"function"},{"name":"action","default":"'replace'","description":"How to modify any stencil values of pixels that are touched by what's drawn in the stencil function.","type":"StencilAction"},{"name":"value","default":"1","description":"The new stencil value to use for pixels if the 'replace' stencil action is used. Has no effect with other stencil actions. Must be between 0 and 255.","type":"number"},{"name":"keepvalues","default":"false","description":"True to preserve old stencil values of pixels, false to re-set every pixel's stencil value to 0 before executing the stencil function. love.graphics.clear will also re-set all stencil values.","type":"boolean"}],"description":"Draws geometry as a stencil.\n\nThe geometry drawn by the supplied function sets invisible stencil values of pixels, instead of setting pixel colors. The stencil buffer (which contains those stencil values) can act like a mask / stencil - love.graphics.setStencilTest can be used afterward to determine how further rendering is affected by the stencil values in each pixel.\n\nStencil values are integers within the range of 255.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.stencil","namespace":"love.graphics","name":"stencil"}},"love.font.newBMFontRasterizer":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#font_newBMFontRasterizer","arguments":[{"name":"imageData","description":"The image data containing the drawable pictures of font glyphs.","type":"ImageData"},{"name":"glyphs","description":"The sequence of glyphs in the ImageData.","type":"string"},{"name":"dpiscale","default":"1","description":"DPI scale.","type":"number"}],"description":"Creates a new BMFont Rasterizer.","returns":[{"name":"rasterizer","description":"The rasterizer.","type":"Rasterizer"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.font.newBMFontRasterizer","namespace":"love.font","name":"newBMFontRasterizer"}},"love.physics.newWorld":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newWorld","arguments":[{"name":"xg","default":"0","description":"The x component of gravity.","type":"number"},{"name":"yg","default":"0","description":"The y component of gravity.","type":"number"},{"name":"sleep","default":"true","description":"Whether the bodies in this world are allowed to sleep.","type":"boolean"}],"description":"Creates a new World.","returns":[{"name":"world","description":"A brave new World.","type":"World"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newWorld","namespace":"love.physics","name":"newWorld"}},"love.audio.setEffect":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_setEffect","arguments":[{"name":"name","description":"The name of the effect.","type":"string"},{"name":"settings","table":[{"name":"type","description":"The type of effect to use.","type":"EffectType"},{"name":"volume","description":"The volume of the effect.","type":"number"},{"name":"...","description":"Effect-specific settings. See EffectType for available effects and their corresponding settings.","type":"number"}],"description":"The settings to use for this effect, with the following fields:","type":"table"}],"description":"Defines an effect that can be applied to a Source.\n\nNot all system supports audio effects. Use love.audio.isEffectsSupported to check.","returns":[{"name":"success","description":"Whether the effect was successfully created.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.setEffect","namespace":"love.audio","name":"setEffect"}},"love.physics.newEdgeShape":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newEdgeShape","arguments":[{"name":"x1","description":"The x position of the first point.","type":"number"},{"name":"y1","description":"The y position of the first point.","type":"number"},{"name":"x2","description":"The x position of the second point.","type":"number"},{"name":"y2","description":"The y position of the second point.","type":"number"}],"description":"Creates a new EdgeShape.","returns":[{"name":"shape","description":"The new shape.","type":"EdgeShape"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newEdgeShape","namespace":"love.physics","name":"newEdgeShape"}},"love.audio.setPosition":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#audio_setPosition","arguments":[{"name":"x","description":"The x position of the listener.","type":"number"},{"name":"y","description":"The y position of the listener.","type":"number"},{"name":"z","description":"The z position of the listener.","type":"number"}],"description":"Sets the position of the listener, which determines how sounds play.","is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.audio.setPosition","namespace":"love.audio","name":"setPosition"}},"love.keyboard.hasKeyRepeat":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#keyboard_hasKeyRepeat","description":"Gets whether key repeat is enabled.","returns":[{"name":"enabled","description":"Whether key repeat is enabled.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.keyboard.hasKeyRepeat","namespace":"love.keyboard","name":"hasKeyRepeat"}},"love.graphics.isWireframe":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_isWireframe","description":"Gets whether wireframe mode is used when drawing.","returns":[{"name":"wireframe","description":"True if wireframe lines are used when drawing, false if it's not.","type":"boolean"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.isWireframe","namespace":"love.graphics","name":"isWireframe"}},"love.window.getMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#window_getMode","description":"Gets the display mode and properties of the window.","returns":[{"name":"width","description":"Window width.","type":"number"},{"name":"height","description":"Window height.","type":"number"},{"name":"flags","table":[{"name":"fullscreen","description":"Fullscreen (true), or windowed (false).","type":"boolean"},{"name":"fullscreentype","description":"The type of fullscreen mode used.","type":"FullscreenType"},{"name":"vsync","description":"True if the graphics framerate is synchronized with the monitor's refresh rate, false otherwise.","type":"boolean"},{"name":"msaa","description":"The number of antialiasing samples used (0 if MSAA is disabled).","type":"number"},{"name":"resizable","description":"True if the window is resizable in windowed mode, false otherwise.","type":"boolean"},{"name":"borderless","description":"True if the window is borderless in windowed mode, false otherwise.","type":"boolean"},{"name":"centered","description":"True if the window is centered in windowed mode, false otherwise.","type":"boolean"},{"name":"display","description":"The index of the display the window is currently in, if multiple monitors are available.","type":"number"},{"name":"minwidth","description":"The minimum width of the window, if it's resizable.","type":"number"},{"name":"minheight","description":"The minimum height of the window, if it's resizable.","type":"number"},{"name":"highdpi","description":"True if high-dpi mode is allowed on Retina displays in OS X. Does nothing on non-Retina displays.","type":"boolean"},{"name":"refreshrate","description":"The refresh rate of the screen's current display mode, in Hz. May be 0 if the value can't be determined.","type":"number"},{"name":"x","description":"The x-coordinate of the window's position in its current display.","type":"number"},{"name":"y","description":"The y-coordinate of the window's position in its current display.","type":"number"},{"name":"srgb","description":"Removed in 0.10.0 (use love.graphics.isGammaCorrect instead). True if sRGB gamma correction is applied when drawing to the screen.","type":"boolean"}],"description":"Table with the window properties:","type":"table"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.window.getMode","namespace":"love.window","name":"getMode"}},"love.audio.RecordingDevice":{"meta":{"supertypes":["Object"],"wiki_link":"https://love2d.org/wiki/RecordingDevice","name":"RecordingDevice","prop_type":"type","api_link":"https://love2d-community.github.io/love-api/#type_RecordingDevice","namespace":"love.audio","description":"Represents an audio input device capable of recording sounds."}},"love.physics.newWeldJoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#physics_newWeldJoint","arguments":[{"name":"body1","description":"The first body to attach to the joint.","type":"Body"},{"name":"body2","description":"The second body to attach to the joint.","type":"Body"},{"name":"x","description":"The x position of the anchor point (world space).","type":"number"},{"name":"y","description":"The y position of the anchor point (world space).","type":"number"},{"name":"collideConnected","default":"false","description":"Specifies whether the two bodies should collide with each other.","type":"boolean"}],"description":"Creates a constraint joint between two bodies. A WeldJoint essentially glues two bodies together. The constraint is a bit soft, however, due to Box2D's iterative solver.","returns":[{"name":"joint","description":"The new WeldJoint.","type":"WeldJoint"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.physics.newWeldJoint","namespace":"love.physics","name":"newWeldJoint"}},"love.data.getPackedSize":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#data_getPackedSize","arguments":[{"name":"format","description":"A string determining how the values are packed. Follows the rules of Lua 5.3's string.pack format strings.","type":"string"}],"description":"Gets the size in bytes that a given format used with love.data.pack will use.\n\nThis function behaves the same as Lua 5.3's string.packsize.","returns":[{"name":"size","description":"The size in bytes that the packed data will use.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.data.getPackedSize","namespace":"love.data","name":"getPackedSize"}},"love.graphics.getScissor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#graphics_getScissor","description":"Gets the current scissor box.","returns":[{"name":"x","description":"The x-component of the top-left point of the box.","type":"number"},{"name":"y","description":"The y-component of the top-left point of the box.","type":"number"},{"name":"width","description":"The width of the box.","type":"number"},{"name":"height","description":"The height of the box.","type":"number"}],"is_type_func":false,"wiki_link":"https://love2d.org/wiki/love.graphics.getScissor","namespace":"love.graphics","name":"getScissor"}},"love.audio.Source.setVelocity":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_setVelocity","arguments":[{"name":"x","description":"The X part of the velocity vector.","type":"number"},{"name":"y","description":"The Y part of the velocity vector.","type":"number"},{"name":"z","description":"The Z part of the velocity vector.","type":"number"}],"description":"Sets the velocity of the Source.\n\nThis does '''not''' change the position of the Source, but lets the application know how it has to calculate the doppler effect.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:setVelocity","namespace":"love.audio.Source","name":"setVelocity"}},"love.graphics.ParticleSystem.setPosition":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setPosition","arguments":[{"name":"x","description":"Position along x-axis.","type":"number"},{"name":"y","description":"Position along y-axis.","type":"number"}],"description":"Sets the position of the emitter.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setPosition","namespace":"love.graphics.ParticleSystem","name":"setPosition"}},"love.physics.EdgeShape.setNextVertex":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#EdgeShape_setNextVertex","arguments":[{"name":"x","description":"The x-component of the vertex.","type":"number"},{"name":"y","description":"The y-component of the vertex.","type":"number"}],"description":"Sets a vertex that establishes a connection to the next shape.\n\nThis can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/EdgeShape:setNextVertex","namespace":"love.physics.EdgeShape","name":"setNextVertex"}},"love.physics.Body.setX":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setX","arguments":[{"name":"x","description":"The x position.","type":"number"}],"description":"Set the x position of the body.\n\nThis function cannot wake up the body. ","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setX","namespace":"love.physics.Body","name":"setX"}},"love.audio.Source.getChannelCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getChannelCount","description":"Gets the number of channels in the Source. Only 1-channel (mono) Sources can use directional and positional effects.","returns":[{"name":"channels","description":"1 for mono, 2 for stereo.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getChannelCount","namespace":"love.audio.Source","name":"getChannelCount"}},"love.physics.PulleyJoint.getLengthB":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PulleyJoint_getLengthB","description":"Get the current length of the rope segment attached to the second body.","returns":[{"name":"length","description":"The length of the rope segment.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PulleyJoint:getLengthB","namespace":"love.physics.PulleyJoint","name":"getLengthB"}},"love.font.GlyphData.getHeight":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#GlyphData_getHeight","description":"Gets glyph height.","returns":[{"name":"height","description":"Glyph height.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/GlyphData:getHeight","namespace":"love.font.GlyphData","name":"getHeight"}},"love.graphics.ParticleSystem.isStopped":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_isStopped","description":"Checks whether the particle system is stopped.","returns":[{"name":"stopped","description":"True if system is stopped, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:isStopped","namespace":"love.graphics.ParticleSystem","name":"isStopped"}},"love.sound.SoundData.setSample":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SoundData_setSample","arguments":[{"name":"i","description":"An integer value specifying the position of the sample (starting at 0).","type":"number"},{"name":"sample","description":"The normalized samplepoint (range -1.0 to 1.0).","type":"number"}],"description":"Sets the value of the sample-point at the specified position. For stereo SoundData objects, the data from the left and right channels are interleaved in that order.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/SoundData:setSample","namespace":"love.sound.SoundData","name":"setSample"}},"love.graphics.Text.getDimensions":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Text_getDimensions","description":"Gets the width and height of the text in pixels.","returns":[{"name":"width","description":"The width of the text. If multiple sub-strings have been added with Text:add, the width of the last sub-string is returned.","type":"number"},{"name":"height","description":"The height of the text. If multiple sub-strings have been added with Text:add, the height of the last sub-string is returned.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Text:getDimensions","namespace":"love.graphics.Text","name":"getDimensions"}},"love.graphics.Image.getFlags":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Image_getFlags","description":"Gets the flags used when the image was created.","returns":[{"name":"flags","description":"A table with ImageFlag keys.","type":"table"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Image:getFlags","namespace":"love.graphics.Image","name":"getFlags"}},"love.audio.Source.getPitch":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getPitch","description":"Gets the current pitch of the Source.","returns":[{"name":"pitch","description":"The pitch, where 1.0 is normal.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getPitch","namespace":"love.audio.Source","name":"getPitch"}},"love.physics.Body.destroy":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_destroy","description":"Explicitly destroys the Body and all fixtures and joints attached to it.\n\nAn error will occur if you attempt to use the object after calling this function. In 0.7.2, when you don't have time to wait for garbage collection, this function may be used to free the object immediately.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:destroy","namespace":"love.physics.Body","name":"destroy"}},"love.physics.RevoluteJoint.setMaxMotorTorque":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_setMaxMotorTorque","arguments":[{"name":"f","description":"The maximum motor force, in Nm.","type":"number"}],"description":"Set the maximum motor force.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:setMaxMotorTorque","namespace":"love.physics.RevoluteJoint","name":"setMaxMotorTorque"}},"love.graphics.ParticleSystem.moveTo":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_moveTo","arguments":[{"name":"x","description":"Position along x-axis.","type":"number"},{"name":"y","description":"Position along y-axis.","type":"number"}],"description":"Moves the position of the emitter. This results in smoother particle spawning behaviour than if ParticleSystem:setPosition is used every frame.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:moveTo","namespace":"love.graphics.ParticleSystem","name":"moveTo"}},"love.math.Transform.reset":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Transform_reset","description":"Resets the Transform to an identity state. All previously applied transformations are erased.","returns":[{"name":"transform","description":"The Transform object the method was called on. Allows easily chaining Transform methods.","type":"Transform"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Transform:reset","namespace":"love.math.Transform","name":"reset"}},"love.audio.Source.getFilter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getFilter","description":"Gets the filter settings currently applied to the Source.","returns":[{"name":"settings","table":[{"name":"type","description":"The type of filter to use.","type":"FilterType"},{"name":"volume","description":"The overall volume of the audio.","type":"number"},{"name":"highgain","description":"Volume of high-frequency audio. Only applies to low-pass and band-pass filters.","type":"number"},{"name":"lowgain","description":"Volume of low-frequency audio. Only applies to high-pass and band-pass filters.","type":"number"}],"description":"The filter settings to use for this Source, or nil if the Source has no active filter. The table has the following fields:","type":"table"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getFilter","namespace":"love.audio.Source","name":"getFilter"}},"love.physics.MouseJoint.getDampingRatio":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#MouseJoint_getDampingRatio","description":"Returns the damping ratio.","returns":[{"name":"ratio","description":"The new damping ratio.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/MouseJoint:getDampingRatio","namespace":"love.physics.MouseJoint","name":"getDampingRatio"}},"love.graphics.Font.setLineHeight":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Font_setLineHeight","arguments":[{"name":"height","description":"The new line height.","type":"number"}],"description":"Sets the line height.\n\nWhen rendering the font in lines the actual height will be determined by the line height multiplied by the height of the font. The default is 1.0.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Font:setLineHeight","namespace":"love.graphics.Font","name":"setLineHeight"}},"love.audio.Source.queue":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_queue","arguments":[{"name":"sounddata","description":"The data to queue. The SoundData's sample rate, bit depth, and channel count must match the Source's.","type":"SoundData"}],"description":"Queues SoundData for playback in a queueable Source.\n\nThis method requires the Source to be created via love.audio.newQueueableSource.","returns":[{"name":"success","description":"True if the data was successfully queued for playback, false if there were no available buffers to use for queueing.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:queue","namespace":"love.audio.Source","name":"queue"}},"love.physics.Body.isSleepingAllowed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_isSleepingAllowed","description":"Returns the sleeping behaviour of the body.","returns":[{"name":"allowed","description":"True if the body is allowed to sleep or false if not.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:isSleepingAllowed","namespace":"love.physics.Body","name":"isSleepingAllowed"}},"love.physics.Body.getWorldCenter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getWorldCenter","description":"Get the center of mass position in world coordinates.\n\nUse Body:getLocalCenter to get the center of mass in local coordinates.","returns":[{"name":"x","description":"The x coordinate of the center of mass.","type":"number"},{"name":"y","description":"The y coordinate of the center of mass.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getWorldCenter","namespace":"love.physics.Body","name":"getWorldCenter"}},"love.graphics.Font.getHeight":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Font_getHeight","description":"Gets the height of the Font.\n\nThe height of the font is the size including any spacing; the height which it will need.","returns":[{"name":"height","description":"The height of the Font in pixels.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Font:getHeight","namespace":"love.graphics.Font","name":"getHeight"}},"love.physics.Body.getJoints":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getJoints","description":"Returns a table containing the Joints attached to this Body.","returns":[{"name":"joints","description":"A sequence with the Joints attached to the Body.","type":"table"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getJoints","namespace":"love.physics.Body","name":"getJoints"}},"love.graphics.ParticleSystem.setEmitterLifetime":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setEmitterLifetime","arguments":[{"name":"life","description":"The lifetime of the emitter (in seconds).","type":"number"}],"description":"Sets how long the particle system should emit particles (if -1 then it emits particles forever).","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setEmitterLifetime","namespace":"love.graphics.ParticleSystem","name":"setEmitterLifetime"}},"love.physics.PrismaticJoint.isMotorEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_isMotorEnabled","description":"Checks whether the motor is enabled.","returns":[{"name":"enabled","description":"True if enabled, false if disabled.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:isMotorEnabled","namespace":"love.physics.PrismaticJoint","name":"isMotorEnabled"}},"love.physics.PrismaticJoint.getMotorForce":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_getMotorForce","arguments":[{"name":"invdt","description":"How long the force applies. Usually the inverse time step or 1/dt.","type":"number"}],"description":"Returns the current motor force.","returns":[{"name":"force","description":"The force on the motor in newtons.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:getMotorForce","namespace":"love.physics.PrismaticJoint","name":"getMotorForce"}},"love.physics.Joint.getCollideConnected":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joint_getCollideConnected","description":"Gets whether the connected Bodies collide.","returns":[{"name":"c","description":"True if they collide, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joint:getCollideConnected","namespace":"love.physics.Joint","name":"getCollideConnected"}},"love.sound.SoundData.getSample":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SoundData_getSample","arguments":[{"name":"i","description":"An integer value specifying the position of the sample (starting at 0).","type":"number"}],"description":"Gets the value of the sample-point at the specified position. For stereo SoundData objects, the data from the left and right channels are interleaved in that order.","returns":[{"name":"sample","description":"The normalized samplepoint (range -1.0 to 1.0).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/SoundData:getSample","namespace":"love.sound.SoundData","name":"getSample"}},"love.graphics.ParticleSystem.setSpin":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setSpin","arguments":[{"name":"min","description":"The minimum spin (radians per second).","type":"number"},{"name":"max","default":"min","description":"The maximum spin (radians per second).","type":"number"}],"description":"Sets the spin of the sprite.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setSpin","namespace":"love.graphics.ParticleSystem","name":"setSpin"}},"love.font.Rasterizer.getGlyphCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Rasterizer_getGlyphCount","description":"Gets number of glyphs in font.","returns":[{"name":"count","description":"Glyphs count.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Rasterizer:getGlyphCount","namespace":"love.font.Rasterizer","name":"getGlyphCount"}},"love.physics.ChainShape.getChildEdge":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ChainShape_getChildEdge","arguments":[{"name":"index","description":"The index of the child.","type":"number"}],"description":"Returns a child of the shape as an EdgeShape.","returns":[{"name":"shape","description":"The child as an EdgeShape.","type":"EdgeShape"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ChainShape:getChildEdge","namespace":"love.physics.ChainShape","name":"getChildEdge"}},"love.filesystem.File.open":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#File_open","arguments":[{"name":"mode","description":"The mode to open the file in.","type":"FileMode"}],"description":"Open the file for write, read or append.","returns":[{"name":"ok","description":"True on success, false otherwise.","type":"boolean"},{"name":"err","description":"The error string if an error occurred.","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/File:open","namespace":"love.filesystem.File","name":"open"}},"love.joystick.Joystick.getHat":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_getHat","arguments":[{"name":"hat","description":"The index of the hat to be checked.","type":"number"}],"description":"Gets the direction of the Joystick's hat.","returns":[{"name":"direction","description":"The direction the hat is pushed.","type":"JoystickHat"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:getHat","namespace":"love.joystick.Joystick","name":"getHat"}},"love.graphics.Mesh.setTexture":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_setTexture","arguments":[{"name":"texture","description":"The Image or Canvas to texture the Mesh with when drawing.","type":"Texture"}],"description":"Sets the texture (Image or Canvas) used when drawing the Mesh.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:setTexture","namespace":"love.graphics.Mesh","name":"setTexture"}},"love.physics.MouseJoint.getFrequency":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#MouseJoint_getFrequency","description":"Returns the frequency.","returns":[{"name":"freq","description":"The frequency in hertz.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/MouseJoint:getFrequency","namespace":"love.physics.MouseJoint","name":"getFrequency"}},"love.physics.RevoluteJoint.setLimitsEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_setLimitsEnabled","arguments":[{"name":"enable","description":"True to enable, false to disable.","type":"boolean"}],"description":"Enables/disables the joint limit.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:setLimitsEnabled","namespace":"love.physics.RevoluteJoint","name":"setLimitsEnabled"}},"love.physics.Shape.rayCast":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Shape_rayCast","arguments":[{"name":"x1","description":"The x position of the input line starting point.","type":"number"},{"name":"y1","description":"The y position of the input line starting point.","type":"number"},{"name":"x2","description":"The x position of the input line end point.","type":"number"},{"name":"y2","description":"The y position of the input line end point.","type":"number"},{"name":"maxFraction","description":"Ray length parameter.","type":"number"},{"name":"tx","description":"The translation of the shape on the x-axis.","type":"number"},{"name":"ty","description":"The translation of the shape on the y-axis.","type":"number"},{"name":"tr","description":"The shape rotation.","type":"number"},{"name":"childIndex","default":"1","description":"The index of the child the ray gets cast against.","type":"number"}],"description":"Casts a ray against the shape and returns the surface normal vector and the line position where the ray hit. If the ray missed the shape, nil will be returned. The Shape can be transformed to get it into the desired position.\n\nThe ray starts on the first point of the input line and goes towards the second point of the line. The fourth argument is the maximum distance the ray is going to travel as a scale factor of the input line length.\n\nThe childIndex parameter is used to specify which child of a parent shape, such as a ChainShape, will be ray casted. For ChainShapes, the index of 1 is the first edge on the chain. Ray casting a parent shape will only test the child specified so if you want to test every shape of the parent, you must loop through all of its children.\n\nThe world position of the impact can be calculated by multiplying the line vector with the third return value and adding it to the line starting point.\n\nhitx, hity = x1 + (x2 - x1) * fraction, y1 + (y2 - y1) * fraction","returns":[{"name":"xn","description":"The x component of the normal vector of the edge where the ray hit the shape.","type":"number"},{"name":"yn","description":"The y component of the normal vector of the edge where the ray hit the shape.","type":"number"},{"name":"fraction","description":"The position on the input line where the intersection happened as a factor of the line length.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Shape:rayCast","namespace":"love.physics.Shape","name":"rayCast"}},"love.image.CompressedImageData.getHeight":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#CompressedImageData_getHeight","description":"Gets the height of the CompressedImageData.","returns":[{"name":"height","description":"The height of the CompressedImageData.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/CompressedImageData:getHeight","namespace":"love.image.CompressedImageData","name":"getHeight"}},"love.physics.Body.getType":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getType","description":"Returns the type of the body.","returns":[{"name":"type","description":"The body type.","type":"BodyType"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getType","namespace":"love.physics.Body","name":"getType"}},"love.graphics.ParticleSystem.setOffset":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setOffset","arguments":[{"name":"x","description":"The x coordinate of the rotation offset.","type":"number"},{"name":"y","description":"The y coordinate of the rotation offset.","type":"number"}],"description":"Set the offset position which the particle sprite is rotated around.\n\nIf this function is not used, the particles rotate around their center.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setOffset","namespace":"love.graphics.ParticleSystem","name":"setOffset"}},"love.thread.Channel.demand":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Channel_demand","description":"Retrieves the value of a Channel message and removes it from the message queue.\n\nIt waits until a message is in the queue then returns the message value.","returns":[{"name":"value","description":"The contents of the message.","type":"Variant"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Channel:demand","namespace":"love.thread.Channel","name":"demand"}},"love.physics.Contact.isTouching":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Contact_isTouching","description":"Returns whether the two colliding fixtures are touching each other.","returns":[{"name":"touching","description":"True if they touch or false if not.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Contact:isTouching","namespace":"love.physics.Contact","name":"isTouching"}},"love.graphics.Mesh.getDrawRange":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_getDrawRange","description":"Gets the range of vertices used when drawing the Mesh.","returns":[{"name":"min","description":"The index of the first vertex used when drawing, or the index of the first value in the vertex map used if one is set for this Mesh.","type":"number"},{"name":"max","description":"The index of the last vertex used when drawing, or the index of the last value in the vertex map used if one is set for this Mesh.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:getDrawRange","namespace":"love.graphics.Mesh","name":"getDrawRange"}},"love.physics.Body.isActive":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_isActive","description":"Returns whether the body is actively used in the simulation.","returns":[{"name":"status","description":"True if the body is active or false if not.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:isActive","namespace":"love.physics.Body","name":"isActive"}},"love.math.BezierCurve.scale":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#BezierCurve_scale","arguments":[{"name":"s","description":"Scale factor.","type":"number"},{"name":"ox","default":"0","description":"X coordinate of the scaling center.","type":"number"},{"name":"oy","default":"0","description":"Y coordinate of the scaling center.","type":"number"}],"description":"Scale the Bézier curve by a factor.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/BezierCurve:scale","namespace":"love.math.BezierCurve","name":"scale"}},"love.physics.Fixture.setCategory":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_setCategory","arguments":[{"name":"category1","description":"The first category.","type":"number"},{"name":"category2","description":"The second category.","type":"number"}],"description":"Sets the categories the fixture belongs to. There can be up to 16 categories represented as a number from 1 to 16.\n\nAll fixture's default category is 1.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:setCategory","namespace":"love.physics.Fixture","name":"setCategory"}},"love.joystick.Joystick.setVibration":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_setVibration","arguments":[{"name":"left","description":"Strength of the left vibration motor on the Joystick. Must be in the range of 1.","type":"number"},{"name":"right","description":"Strength of the right vibration motor on the Joystick. Must be in the range of 1.","type":"number"}],"description":"Sets the vibration motor speeds on a Joystick with rumble support. Most common gamepads have this functionality, although not all drivers give proper support. Use Joystick:isVibrationSupported to check.","returns":[{"name":"success","description":"True if the vibration was successfully applied, false if not.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:setVibration","namespace":"love.joystick.Joystick","name":"setVibration"}},"love.physics.Body.getX":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getX","description":"Get the x position of the body in world coordinates.","returns":[{"name":"x","description":"The x position in world coordinates.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getX","namespace":"love.physics.Body","name":"getX"}},"love.physics.Fixture.getMassData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_getMassData","description":"Returns the mass, its center and the rotational inertia.","returns":[{"name":"x","description":"The x position of the center of mass.","type":"number"},{"name":"y","description":"The y position of the center of mass.","type":"number"},{"name":"mass","description":"The mass of the fixture.","type":"number"},{"name":"inertia","description":"The rotational inertia.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:getMassData","namespace":"love.physics.Fixture","name":"getMassData"}},"love.graphics.Mesh.getVertex":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_getVertex","arguments":[{"name":"index","description":"The one-based index of the vertex you want to retrieve the information for.","type":"number"}],"description":"Gets the properties of a vertex in the Mesh.\n\nIn versions prior to 11.0, color and byte component values were within the range of 0 to 255 instead of 0 to 1.","returns":[{"name":"attributecomponent","description":"The first component of the first vertex attribute in the specified vertex.","type":"number"},{"name":"...","description":"Additional components of all vertex attributes in the specified vertex.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:getVertex","namespace":"love.graphics.Mesh","name":"getVertex"}},"love.physics.Fixture.setDensity":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_setDensity","arguments":[{"name":"density","description":"The fixture density in kilograms per square meter.","type":"number"}],"description":"Sets the density of the fixture. Call Body:resetMassData if this needs to take effect immediately.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:setDensity","namespace":"love.physics.Fixture","name":"setDensity"}},"love.physics.ChainShape.getPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ChainShape_getPoint","arguments":[{"name":"index","description":"The index of the point to return.","type":"number"}],"description":"Returns a point of the shape.","returns":[{"name":"x","description":"The x-coordinate of the point.","type":"number"},{"name":"y","description":"The y-coordinate of the point.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ChainShape:getPoint","namespace":"love.physics.ChainShape","name":"getPoint"}},"love.graphics.SpriteBatch.getBufferSize":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SpriteBatch_getBufferSize","description":"Gets the maximum number of sprites the SpriteBatch can hold.","returns":[{"name":"size","description":"The maximum number of sprites the batch can hold.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/SpriteBatch:getBufferSize","namespace":"love.graphics.SpriteBatch","name":"getBufferSize"}},"love.physics.EdgeShape.getNextVertex":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#EdgeShape_getNextVertex","description":"Gets the vertex that establishes a connection to the next shape.\n\nSetting next and previous EdgeShape vertices can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.","returns":[{"name":"x","description":"The x-component of the vertex, or nil if EdgeShape:setNextVertex hasn't been called.","type":"number"},{"name":"y","description":"The y-component of the vertex, or nil if EdgeShape:setNextVertex hasn't been called.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/EdgeShape:getNextVertex","namespace":"love.physics.EdgeShape","name":"getNextVertex"}},"love.physics.Contact.isEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Contact_isEnabled","description":"Returns whether the contact is enabled. The collision will be ignored if a contact gets disabled in the preSolve callback.","returns":[{"name":"enabled","description":"True if enabled, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Contact:isEnabled","namespace":"love.physics.Contact","name":"isEnabled"}},"love.graphics.ParticleSystem.getOffset":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getOffset","description":"Gets the particle image's draw offset.","returns":[{"name":"ox","description":"The x coordinate of the particle image's draw offset.","type":"number"},{"name":"oy","description":"The y coordinate of the particle image's draw offset.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getOffset","namespace":"love.graphics.ParticleSystem","name":"getOffset"}},"love.physics.RevoluteJoint.getLimits":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_getLimits","description":"Gets the joint limits.","returns":[{"name":"lower","description":"The lower limit, in radians.","type":"number"},{"name":"upper","description":"The upper limit, in radians.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:getLimits","namespace":"love.physics.RevoluteJoint","name":"getLimits"}},"love.audio.Source.seek":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_seek","arguments":[{"name":"offset","description":"The position to seek to.","type":"number"},{"name":"unit","default":"'seconds'","description":"The unit of the position value.","type":"TimeUnit"}],"description":"Sets the currently playing position of the Source.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:seek","namespace":"love.audio.Source","name":"seek"}},"love.graphics.Font.setFilter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Font_setFilter","arguments":[{"name":"min","description":"How to scale a font down.","type":"FilterMode"},{"name":"mag","description":"How to scale a font up.","type":"FilterMode"},{"name":"anisotropy","default":"1","description":"Maximum amount of anisotropic filtering used.","type":"number"}],"description":"Sets the filter mode for a font.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Font:setFilter","namespace":"love.graphics.Font","name":"setFilter"}},"love.audio.RecordingDevice.getSampleRate":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RecordingDevice_getSampleRate","description":"Gets the number of samples per second currently being recorded.","returns":[{"name":"rate","description":"The number of samples being recorded per second (sample rate).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RecordingDevice:getSampleRate","namespace":"love.audio.RecordingDevice","name":"getSampleRate"}},"love.graphics.Font.hasGlyphs":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Font_hasGlyphs","arguments":[{"name":"text","description":"A UTF-8 encoded unicode string.","type":"string"}],"description":"Gets whether the Font can render a character or string.","returns":[{"name":"hasglyph","description":"Whether the font can render all the UTF-8 characters in the string.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Font:hasGlyphs","namespace":"love.graphics.Font","name":"hasGlyphs"}},"love.physics.RevoluteJoint.areLimitsEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_areLimitsEnabled","description":"Checks whether limits are enabled.","returns":[{"name":"enabled","description":"True if enabled, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:areLimitsEnabled","namespace":"love.physics.RevoluteJoint","name":"areLimitsEnabled"}},"love.audio.RecordingDevice.getBitDepth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RecordingDevice_getBitDepth","description":"Gets the number of bits per sample in the data currently being recorded.","returns":[{"name":"bits","description":"The number of bits per sample in the data that's currently being recorded.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RecordingDevice:getBitDepth","namespace":"love.audio.RecordingDevice","name":"getBitDepth"}},"love.graphics.ParticleSystem.reset":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_reset","description":"Resets the particle emitter, removing any existing particles and resetting the lifetime counter.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:reset","namespace":"love.graphics.ParticleSystem","name":"reset"}},"love.graphics.Canvas.getMSAA":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Canvas_getMSAA","description":"Gets the number of multisample antialiasing (MSAA) samples used when drawing to the Canvas.\n\nThis may be different than the number used as an argument to love.graphics.newCanvas if the system running LÖVE doesn't support that number.","returns":[{"name":"samples","description":"The number of multisample antialiasing samples used by the canvas when drawing to it.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Canvas:getMSAA","namespace":"love.graphics.Canvas","name":"getMSAA"}},"love.thread.Channel.peek":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Channel_peek","description":"Retrieves the value of a Channel message, but leaves it in the queue.\n\nIt returns nil if there's no message in the queue.","returns":[{"name":"value","description":"The contents of the message.","type":"Variant"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Channel:peek","namespace":"love.thread.Channel","name":"peek"}},"love.physics.ChainShape.getNextVertex":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ChainShape_getNextVertex","description":"Gets the vertex that establishes a connection to the next shape.\n\nSetting next and previous ChainShape vertices can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.","returns":[{"name":"x","description":"The x-component of the vertex, or nil if ChainShape:setNextVertex hasn't been called.","type":"number"},{"name":"y","description":"The y-component of the vertex, or nil if ChainShape:setNextVertex hasn't been called.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ChainShape:getNextVertex","namespace":"love.physics.ChainShape","name":"getNextVertex"}},"love.graphics.Texture.getMipmapCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_getMipmapCount","description":"Gets the number of mipmaps contained in the Texture. If the texture was not created with mipmaps, it will return 1.","returns":[{"name":"mipmaps","description":"The number of mipmaps in the Texture.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:getMipmapCount","namespace":"love.graphics.Texture","name":"getMipmapCount"}},"love.filesystem.File.close":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#File_close","description":"Closes a File.","returns":[{"name":"success","description":"Whether closing was successful.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/File:close","namespace":"love.filesystem.File","name":"close"}},"love.graphics.Video.setSource":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Video_setSource","arguments":[{"name":"source","default":"nil","description":"The audio Source used for audio playback, or nil to disable audio synchronization.","type":"Source"}],"description":"Sets the audio Source used for playing back the video's audio. The audio Source also controls playback speed and synchronization.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Video:setSource","namespace":"love.graphics.Video","name":"setSource"}},"love.physics.Body.getLocalPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getLocalPoint","arguments":[{"name":"worldX","description":"The x position in world coordinates.","type":"number"},{"name":"worldY","description":"The y position in world coordinates.","type":"number"}],"description":"Transform a point from world coordinates to local coordinates.","returns":[{"name":"localX","description":"The x position in local coordinates.","type":"number"},{"name":"localY","description":"The y position in local coordinates.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getLocalPoint","namespace":"love.physics.Body","name":"getLocalPoint"}},"love.audio.RecordingDevice.getSampleCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RecordingDevice_getSampleCount","description":"Gets the number of currently recorded samples.","returns":[{"name":"samples","description":"The number of samples that have been recorded so far.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RecordingDevice:getSampleCount","namespace":"love.audio.RecordingDevice","name":"getSampleCount"}},"love.physics.EdgeShape.getPoints":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#EdgeShape_getPoints","description":"Returns the local coordinates of the edge points.","returns":[{"name":"x1","description":"The x-component of the first vertex.","type":"number"},{"name":"y1","description":"The y-component of the first vertex.","type":"number"},{"name":"x2","description":"The x-component of the second vertex.","type":"number"},{"name":"y2","description":"The y-component of the second vertex.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/EdgeShape:getPoints","namespace":"love.physics.EdgeShape","name":"getPoints"}},"love.graphics.SpriteBatch.setDrawRange":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SpriteBatch_setDrawRange","arguments":[{"name":"start","description":"The index of the first sprite to draw. Index 1 corresponds to the first sprite added with SpriteBatch:add.","type":"number"},{"name":"count","description":"The number of sprites to draw.","type":"number"}],"description":"Restricts the drawn sprites in the SpriteBatch to a subset of the total.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/SpriteBatch:setDrawRange","namespace":"love.graphics.SpriteBatch","name":"setDrawRange"}},"love.physics.World.getContactFilter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_getContactFilter","description":"Returns the function for collision filtering.","returns":[{"name":"contactFilter","description":"The function that handles the contact filtering.","type":"function"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:getContactFilter","namespace":"love.physics.World","name":"getContactFilter"}},"love.physics.Body.setFixedRotation":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setFixedRotation","arguments":[{"name":"isFixed","description":"Whether the body should have fixed rotation.","type":"boolean"}],"description":"Set whether a body has fixed rotation.\n\nBodies with fixed rotation don't vary the speed at which they rotate. Calling this function causes the mass to be reset. ","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setFixedRotation","namespace":"love.physics.Body","name":"setFixedRotation"}},"love.font.Rasterizer.getHeight":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Rasterizer_getHeight","description":"Gets font height.","returns":[{"name":"height","description":"Font height","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Rasterizer:getHeight","namespace":"love.font.Rasterizer","name":"getHeight"}},"love.graphics.ParticleSystem.pause":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_pause","description":"Pauses the particle emitter.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:pause","namespace":"love.graphics.ParticleSystem","name":"pause"}},"love.physics.Fixture.setFriction":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_setFriction","arguments":[{"name":"friction","description":"The fixture friction.","type":"number"}],"description":"Sets the friction of the fixture.\n\nFriction determines how shapes react when they 'slide' along other shapes. Low friction indicates a slippery surface, like ice, while high friction indicates a rough surface, like concrete. Range: 0.0 - 1.0.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:setFriction","namespace":"love.physics.Fixture","name":"setFriction"}},"love.physics.Body.getLinearVelocity":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getLinearVelocity","description":"Gets the linear velocity of the Body from its center of mass.\n\nThe linear velocity is the ''rate of change of position over time''.\n\nIf you need the ''rate of change of angle over time'', use Body:getAngularVelocity.\n\nIf you need to get the linear velocity of a point different from the center of mass:\n\n* Body:getLinearVelocityFromLocalPoint allows you to specify the point in local coordinates.\n\n* Body:getLinearVelocityFromWorldPoint allows you to specify the point in world coordinates.\n\nSee page 136 of 'Essential Mathematics for Games and Interactive Applications' for definitions of local and world coordinates.","returns":[{"name":"x","description":"The x-component of the velocity vector","type":"number"},{"name":"y","description":"The y-component of the velocity vector","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getLinearVelocity","namespace":"love.physics.Body","name":"getLinearVelocity"}},"love.physics.World.translateOrigin":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_translateOrigin","arguments":[{"name":"x","description":"The x component of the new origin with respect to the old origin.","type":"number"},{"name":"y","description":"The y component of the new origin with respect to the old origin.","type":"number"}],"description":"Translates the World's origin. Useful in large worlds where floating point precision issues become noticeable at far distances from the origin.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:translateOrigin","namespace":"love.physics.World","name":"translateOrigin"}},"love.joystick.Joystick.isConnected":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_isConnected","description":"Gets whether the Joystick is connected.","returns":[{"name":"connected","description":"True if the Joystick is currently connected, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:isConnected","namespace":"love.joystick.Joystick","name":"isConnected"}},"love.physics.Contact.resetFriction":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Contact_resetFriction","description":"Resets the contact friction to the mixture value of both fixtures.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Contact:resetFriction","namespace":"love.physics.Contact","name":"resetFriction"}},"love.physics.RevoluteJoint.getUpperLimit":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_getUpperLimit","description":"Gets the upper limit.","returns":[{"name":"upper","description":"The upper limit, in radians.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:getUpperLimit","namespace":"love.physics.RevoluteJoint","name":"getUpperLimit"}},"love.graphics.Text.setf":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Text_setf","arguments":[{"name":"textstring","description":"The new string of text to use.","type":"string"},{"name":"wraplimit","description":"The maximum width in pixels of the text before it gets automatically wrapped to a new line.","type":"number"},{"name":"align","description":"The alignment of the text.","type":"AlignMode"}],"description":"Replaces the contents of the Text object with a new formatted string.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Text:setf","namespace":"love.graphics.Text","name":"setf"}},"love.graphics.Video.isPlaying":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Video_isPlaying","description":"Gets whether the Video is currently playing.","returns":[{"name":"playing","description":"Whether the video is playing.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Video:isPlaying","namespace":"love.graphics.Video","name":"isPlaying"}},"love.graphics.SpriteBatch.addLayer":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SpriteBatch_addLayer","arguments":[{"name":"layerindex","description":"The index of the layer to use for this sprite.","type":"number"},{"name":"x","default":"0","description":"The position to draw the sprite (x-axis).","type":"number"},{"name":"y","default":"0","description":"The position to draw the sprite (y-axis).","type":"number"},{"name":"r","default":"0","description":"Orientation (radians).","type":"number"},{"name":"sx","default":"1","description":"Scale factor (x-axis).","type":"number"},{"name":"sy","default":"sx","description":"Scale factor (y-axis).","type":"number"},{"name":"ox","default":"0","description":"Origin offset (x-axis).","type":"number"},{"name":"oy","default":"0","description":"Origin offset (y-axis).","type":"number"},{"name":"kx","default":"0","description":"Shearing factor (x-axis).","type":"number"},{"name":"ky","default":"0","description":"Shearing factor (y-axis).","type":"number"}],"description":"Adds a sprite to a batch created with an Array Texture.","returns":[{"name":"spriteindex","description":"The index of the added sprite, for use with SpriteBatch:set or SpriteBatch:setLayer.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/SpriteBatch:addLayer","namespace":"love.graphics.SpriteBatch","name":"addLayer"}},"love.graphics.Texture.setDepthSampleMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_setDepthSampleMode","arguments":[{"name":"compare","description":"The comparison mode used when sampling from this texture in a shader.","type":"CompareMode"}],"description":"Sets the comparison mode used when sampling from a depth texture in a shader. Depth texture comparison modes are advanced low-level functionality typically used with shadow mapping in 3D.\n\nWhen using a depth texture with a comparison mode set in a shader, it must be declared as a sampler2DShadow and used in a GLSL 3 Shader. The result of accessing the texture in the shader will return a float between 0 and 1, proportional to the number of samples (up to 4 samples will be used if bilinear filtering is enabled) that passed the test set by the comparison operation.\n\nDepth texture comparison can only be used with readable depth-formatted Canvases.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:setDepthSampleMode","namespace":"love.graphics.Texture","name":"setDepthSampleMode"}},"love.physics.RevoluteJoint.hasLimitsEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_hasLimitsEnabled","description":"Checks whether limits are enabled.","returns":[{"name":"enabled","description":"True if enabled, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:hasLimitsEnabled","namespace":"love.physics.RevoluteJoint","name":"hasLimitsEnabled"}},"love.physics.Fixture.setSensor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_setSensor","arguments":[{"name":"sensor","description":"The sensor status.","type":"boolean"}],"description":"Sets whether the fixture should act as a sensor.\n\nSensors do not cause collision responses, but the begin-contact and end-contact World callbacks will still be called for this fixture.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:setSensor","namespace":"love.physics.Fixture","name":"setSensor"}},"love.sound.Decoder.getChannelCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Decoder_getChannelCount","description":"Returns the number of channels in the stream.","returns":[{"name":"channels","description":"1 for mono, 2 for stereo.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Decoder:getChannelCount","namespace":"love.sound.Decoder","name":"getChannelCount"}},"love.physics.PrismaticJoint.getAxis":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_getAxis","description":"Gets the world-space axis vector of the Prismatic Joint.","returns":[{"name":"x","description":"The x-axis coordinate of the world-space axis vector.","type":"number"},{"name":"y","description":"The y-axis coordinate of the world-space axis vector.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:getAxis","namespace":"love.physics.PrismaticJoint","name":"getAxis"}},"love.graphics.Video.pause":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Video_pause","description":"Pauses the Video.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Video:pause","namespace":"love.graphics.Video","name":"pause"}},"love.graphics.Mesh.getVertexCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_getVertexCount","description":"Gets the total number of vertices in the Mesh.","returns":[{"name":"count","description":"The total number of vertices in the mesh.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:getVertexCount","namespace":"love.graphics.Mesh","name":"getVertexCount"}},"love.math.Transform.inverse":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Transform_inverse","description":"Creates a new Transform containing the inverse of this Transform.","returns":[{"name":"inverse","description":"A new Transform object representing the inverse of this Transform's matrix.","type":"Transform"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Transform:inverse","namespace":"love.math.Transform","name":"inverse"}},"love.physics.Body.setLinearDamping":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setLinearDamping","arguments":[{"name":"ld","description":"The new linear damping","type":"number"}],"description":"Sets the linear damping of a Body\n\nSee Body:getLinearDamping for a definition of linear damping.\n\nLinear damping can take any value from 0 to infinity. It is recommended to stay between 0 and 0.1, though. Other values will make the objects look 'floaty'(if gravity is enabled).","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setLinearDamping","namespace":"love.physics.Body","name":"setLinearDamping"}},"love.physics.Body.isFixedRotation":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_isFixedRotation","description":"Returns whether the body rotation is locked.","returns":[{"name":"fixed","description":"True if the body's rotation is locked or false if not.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:isFixedRotation","namespace":"love.physics.Body","name":"isFixedRotation"}},"love.graphics.Quad.getTextureDimensions":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Quad_getTextureDimensions","description":"Gets reference texture dimensions initially specified in love.graphics.newQuad.","returns":[{"name":"sw","description":"The Texture width used by the Quad.","type":"number"},{"name":"sh","description":"The Texture height used by the Quad.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Quad:getTextureDimensions","namespace":"love.graphics.Quad","name":"getTextureDimensions"}},"love.physics.CircleShape.setPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#CircleShape_setPoint","arguments":[{"name":"x","description":"The x-component of the new center point of the circle.","type":"number"},{"name":"y","description":"The y-component of the new center point of the circle.","type":"number"}],"description":"Sets the location of the center of the circle shape.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/CircleShape:setPoint","namespace":"love.physics.CircleShape","name":"setPoint"}},"love.physics.DistanceJoint.getDampingRatio":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#DistanceJoint_getDampingRatio","description":"Gets the damping ratio.","returns":[{"name":"ratio","description":"The damping ratio.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/DistanceJoint:getDampingRatio","namespace":"love.physics.DistanceJoint","name":"getDampingRatio"}},"love.math.BezierCurve.getControlPointCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#BezierCurve_getControlPointCount","description":"Get the number of control points in the Bézier curve.","returns":[{"name":"count","description":"The number of control points.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/BezierCurve:getControlPointCount","namespace":"love.math.BezierCurve","name":"getControlPointCount"}},"love.audio.Source.setLooping":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_setLooping","arguments":[{"name":"loop","description":"True if the source should loop, false otherwise.","type":"boolean"}],"description":"Sets whether the Source should loop.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:setLooping","namespace":"love.audio.Source","name":"setLooping"}},"love.graphics.Mesh.setDrawRange":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_setDrawRange","arguments":[{"name":"start","description":"The index of the first vertex to use when drawing, or the index of the first value in the vertex map to use if one is set for this Mesh.","type":"number"},{"name":"count","description":"The number of vertices to use when drawing, or number of values in the vertex map to use if one is set for this Mesh.","type":"number"}],"description":"Restricts the drawn vertices of the Mesh to a subset of the total.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:setDrawRange","namespace":"love.graphics.Mesh","name":"setDrawRange"}},"love.physics.WheelJoint.setMotorSpeed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WheelJoint_setMotorSpeed","arguments":[{"name":"speed","description":"The new speed for the joint motor in radians per second.","type":"number"}],"description":"Sets a new speed for the motor.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/WheelJoint:setMotorSpeed","namespace":"love.physics.WheelJoint","name":"setMotorSpeed"}},"love.joystick.Joystick.getButtonCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_getButtonCount","description":"Gets the number of buttons on the joystick.","returns":[{"name":"buttons","description":"The number of buttons available.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:getButtonCount","namespace":"love.joystick.Joystick","name":"getButtonCount"}},"love.audio.RecordingDevice.stop":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RecordingDevice_stop","description":"Stops recording audio from this device. Any sound data currently in the device's buffer will be returned.","returns":[{"name":"data","description":"The sound data currently in the device's buffer, or nil if the device wasn't recording.","type":"SoundData"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RecordingDevice:stop","namespace":"love.audio.RecordingDevice","name":"stop"}},"love.graphics.ParticleSystem.update":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_update","arguments":[{"name":"dt","description":"The time (seconds) since last frame.","type":"number"}],"description":"Updates the particle system; moving, creating and killing particles.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:update","namespace":"love.graphics.ParticleSystem","name":"update"}},"love.image.CompressedImageData.getWidth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#CompressedImageData_getWidth","description":"Gets the width of the CompressedImageData.","returns":[{"name":"width","description":"The width of the CompressedImageData.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/CompressedImageData:getWidth","namespace":"love.image.CompressedImageData","name":"getWidth"}},"love.thread.Thread.wait":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Thread_wait","description":"Wait for a thread to finish.\n\nThis call will block until the thread finishes.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Thread:wait","namespace":"love.thread.Thread","name":"wait"}},"love.physics.MouseJoint.setMaxForce":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#MouseJoint_setMaxForce","arguments":[{"name":"f","description":"The max allowed force.","type":"number"}],"description":"Sets the highest allowed force.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/MouseJoint:setMaxForce","namespace":"love.physics.MouseJoint","name":"setMaxForce"}},"love.graphics.ParticleSystem.getSpin":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getSpin","description":"Gets the spin of the sprite.","returns":[{"name":"min","description":"The minimum spin (radians per second).","type":"number"},{"name":"max","description":"The maximum spin (radians per second).","type":"number"},{"name":"variation","description":"The degree of variation (0 meaning no variation and 1 meaning full variation between start and end).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getSpin","namespace":"love.graphics.ParticleSystem","name":"getSpin"}},"love.physics.Joint.getReactionTorque":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joint_getReactionTorque","arguments":[{"name":"invdt","description":"How long the force applies. Usually the inverse time step or 1/dt.","type":"number"}],"description":"Returns the reaction torque on the second body.","returns":[{"name":"torque","description":"The reaction torque on the second body.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joint:getReactionTorque","namespace":"love.physics.Joint","name":"getReactionTorque"}},"love.thread.Thread.isRunning":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Thread_isRunning","description":"Returns whether the thread is currently running.\n\nThreads which are not running can be (re)started with Thread:start.","returns":[{"name":"value","description":"True if the thread is running, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Thread:isRunning","namespace":"love.thread.Thread","name":"isRunning"}},"love.physics.Body.setTransform":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setTransform","arguments":[{"name":"x","description":"The x component of the position.","type":"number"},{"name":"y","description":"The y component of the position.","type":"number"},{"name":"angle","description":"The angle in radians.","type":"number"}],"description":"Set the position and angle of the body.\n\nNote that the position may not be the center of mass of the body. An angle of 0 radians will mean 'looking to the right'. Although radians increase counter-clockwise, the y axis points down so it becomes clockwise from our point of view.\n\nThis function cannot wake up the body.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setTransform","namespace":"love.physics.Body","name":"setTransform"}},"love.physics.PrismaticJoint.setMaxMotorForce":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_setMaxMotorForce","arguments":[{"name":"f","description":"The maximum motor force, usually in N.","type":"number"}],"description":"Set the maximum motor force.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:setMaxMotorForce","namespace":"love.physics.PrismaticJoint","name":"setMaxMotorForce"}},"love.physics.PrismaticJoint.getLowerLimit":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_getLowerLimit","description":"Gets the lower limit.","returns":[{"name":"lower","description":"The lower limit, usually in meters.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:getLowerLimit","namespace":"love.physics.PrismaticJoint","name":"getLowerLimit"}},"love.thread.Channel.push":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Channel_push","arguments":[{"name":"value","description":"The contents of the message.","type":"Variant"}],"description":"Send a message to the thread Channel.\n\nSee Variant for the list of supported types.","returns":[{"name":"id","description":"Identifier which can be supplied to Channel:hasRead","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Channel:push","namespace":"love.thread.Channel","name":"push"}},"love.filesystem.File.isOpen":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#File_isOpen","description":"Gets whether the file is open.","returns":[{"name":"open","description":"True if the file is currently open, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/File:isOpen","namespace":"love.filesystem.File","name":"isOpen"}},"love.math.Transform.rotate":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Transform_rotate","arguments":[{"name":"angle","description":"The relative angle in radians to rotate this Transform by.","type":"number"}],"description":"Applies a rotation to the Transform's coordinate system. This method does not reset any previously applied transformations.","returns":[{"name":"transform","description":"The Transform object the method was called on. Allows easily chaining Transform methods.","type":"Transform"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Transform:rotate","namespace":"love.math.Transform","name":"rotate"}},"love.thread.Channel.pop":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Channel_pop","description":"Retrieves the value of a Channel message and removes it from the message queue.\n\nIt returns nil if there are no messages in the queue.","returns":[{"name":"value","description":"The contents of the message.","type":"Variant"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Channel:pop","namespace":"love.thread.Channel","name":"pop"}},"love.graphics.ParticleSystem.setInsertMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setInsertMode","arguments":[{"name":"mode","description":"The mode to use when the ParticleSystem adds new particles.","type":"ParticleInsertMode"}],"description":"Sets the mode to use when the ParticleSystem adds new particles.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setInsertMode","namespace":"love.graphics.ParticleSystem","name":"setInsertMode"}},"love.audio.Source.getDirection":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getDirection","description":"Gets the direction of the Source.","returns":[{"name":"x","description":"The X part of the direction vector.","type":"number"},{"name":"y","description":"The Y part of the direction vector.","type":"number"},{"name":"z","description":"The Z part of the direction vector.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getDirection","namespace":"love.audio.Source","name":"getDirection"}},"love.graphics.Texture.getDepthSampleMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_getDepthSampleMode","description":"Gets the comparison mode used when sampling from a depth texture in a shader.\n\nDepth texture comparison modes are advanced low-level functionality typically used with shadow mapping in 3D.","returns":[{"name":"compare","default":"nil","description":"The comparison mode used when sampling from this texture in a shader, or nil if setDepthSampleMode has not been called on this Texture.","type":"CompareMode"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:getDepthSampleMode","namespace":"love.graphics.Texture","name":"getDepthSampleMode"}},"love.math.BezierCurve.rotate":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#BezierCurve_rotate","arguments":[{"name":"angle","description":"Rotation angle in radians.","type":"number"},{"name":"ox","default":"0","description":"X coordinate of the rotation center.","type":"number"},{"name":"oy","default":"0","description":"Y coordinate of the rotation center.","type":"number"}],"description":"Rotate the Bézier curve by an angle.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/BezierCurve:rotate","namespace":"love.math.BezierCurve","name":"rotate"}},"love.image.ImageData.mapPixel":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ImageData_mapPixel","arguments":[{"name":"pixelFunction","description":"Function to apply to every pixel.","type":"function"},{"name":"x","default":"0","description":"The x-axis of the top-left corner of the area within the ImageData to apply the function to.","type":"number"},{"name":"y","default":"0","description":"The y-axis of the top-left corner of the area within the ImageData to apply the function to.","type":"number"},{"name":"width","default":"ImageData:getWidth()","description":"The width of the area within the ImageData to apply the function to.","type":"number"},{"name":"height","default":"ImageData:getHeight()","description":"The height of the area within the ImageData to apply the function to.","type":"number"}],"description":"Transform an image by applying a function to every pixel.\n\nThis function is a higher-order function. It takes another function as a parameter, and calls it once for each pixel in the ImageData.\n\nThe passed function is called with six parameters for each pixel in turn. The parameters are numbers that represent the x and y coordinates of the pixel and its red, green, blue and alpha values. The function should return the new red, green, blue, and alpha values for that pixel.\n\nfunction pixelFunction(x, y, r, g, b, a)\n\n -- template for defining your own pixel mapping function\n\n -- perform computations giving the new values for r, g, b and a\n\n -- ...\n\n return r, g, b, a\n\nend\n\nIn versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ImageData:mapPixel","namespace":"love.image.ImageData","name":"mapPixel"}},"love.graphics.ParticleSystem.getInsertMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getInsertMode","description":"Gets the mode used when the ParticleSystem adds new particles.","returns":[{"name":"mode","description":"The mode used when the ParticleSystem adds new particles.","type":"ParticleInsertMode"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getInsertMode","namespace":"love.graphics.ParticleSystem","name":"getInsertMode"}},"love.physics.ChainShape.getPoints":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ChainShape_getPoints","description":"Returns all points of the shape.","returns":[{"name":"x1","description":"The x-coordinate of the first point.","type":"number"},{"name":"y1","description":"The y-coordinate of the first point.","type":"number"},{"name":"x2","description":"The x-coordinate of the second point.","type":"number"},{"name":"y2","description":"The y-coordinate of the second point.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ChainShape:getPoints","namespace":"love.physics.ChainShape","name":"getPoints"}},"love.physics.PrismaticJoint.areLimitsEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_areLimitsEnabled","description":"Checks whether the limits are enabled.","returns":[{"name":"enabled","description":"True if enabled, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:areLimitsEnabled","namespace":"love.physics.PrismaticJoint","name":"areLimitsEnabled"}},"love.image.ImageData.getWidth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ImageData_getWidth","description":"Gets the width of the ImageData in pixels.","returns":[{"name":"width","description":"The width of the ImageData in pixels.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ImageData:getWidth","namespace":"love.image.ImageData","name":"getWidth"}},"love.thread.Channel.getCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Channel_getCount","description":"Retrieves the number of messages in the thread Channel queue.","returns":[{"name":"count","description":"The number of messages in the queue.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Channel:getCount","namespace":"love.thread.Channel","name":"getCount"}},"love.graphics.ParticleSystem.getEmissionArea":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getEmissionArea","description":"Gets the area-based spawn parameters for the particles.","returns":[{"name":"distribution","description":"The type of distribution for new particles.","type":"AreaSpreadDistribution"},{"name":"dx","description":"The maximum spawn distance from the emitter along the x-axis for uniform distribution, or the standard deviation along the x-axis for normal distribution.","type":"number"},{"name":"dy","description":"The maximum spawn distance from the emitter along the y-axis for uniform distribution, or the standard deviation along the y-axis for normal distribution.","type":"number"},{"name":"angle","description":"The angle in radians of the emission area.","type":"number"},{"name":"directionRelativeToCenter","description":"True if newly spawned particles will be oriented relative to the center of the emission area, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getEmissionArea","namespace":"love.graphics.ParticleSystem","name":"getEmissionArea"}},"love.physics.Shape.getType":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Shape_getType","description":"Gets a string representing the Shape.\n\nThis function can be useful for conditional debug drawing.","returns":[{"name":"type","description":"The type of the Shape.","type":"ShapeType"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Shape:getType","namespace":"love.physics.Shape","name":"getType"}},"love.math.RandomGenerator.randomNormal":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RandomGenerator_randomNormal","arguments":[{"name":"stddev","default":"1","description":"Standard deviation of the distribution.","type":"number"},{"name":"mean","default":"0","description":"The mean of the distribution.","type":"number"}],"description":"Get a normally distributed pseudo random number.","returns":[{"name":"number","description":"Normally distributed random number with variance (stddev)² and the specified mean.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RandomGenerator:randomNormal","namespace":"love.math.RandomGenerator","name":"randomNormal"}},"love.thread.Channel.clear":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Channel_clear","description":"Clears all the messages in the Channel queue.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Channel:clear","namespace":"love.thread.Channel","name":"clear"}},"love.physics.CircleShape.getPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#CircleShape_getPoint","description":"Gets the center point of the circle shape.","returns":[{"name":"x","description":"The x-component of the center point of the circle.","type":"number"},{"name":"y","description":"The y-component of the center point of the circle.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/CircleShape:getPoint","namespace":"love.physics.CircleShape","name":"getPoint"}},"love.physics.DistanceJoint.setDampingRatio":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#DistanceJoint_setDampingRatio","arguments":[{"name":"ratio","description":"The damping ratio.","type":"number"}],"description":"Sets the damping ratio.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/DistanceJoint:setDampingRatio","namespace":"love.physics.DistanceJoint","name":"setDampingRatio"}},"love.physics.Shape.testPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Shape_testPoint","arguments":[{"name":"tx","description":"Translates the shape along the x-axis.","type":"number"},{"name":"ty","description":"Translates the shape along the y-axis.","type":"number"},{"name":"tr","description":"Rotates the shape.","type":"number"},{"name":"x","description":"The x-component of the point.","type":"number"},{"name":"y","description":"The y-component of the point.","type":"number"}],"description":"This is particularly useful for mouse interaction with the shapes. By looping through all shapes and testing the mouse position with this function, we can find which shapes the mouse touches.","returns":[{"name":"hit","description":"True if inside, false if outside","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Shape:testPoint","namespace":"love.physics.Shape","name":"testPoint"}},"love.physics.WheelJoint.getSpringFrequency":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WheelJoint_getSpringFrequency","description":"Returns the spring frequency.","returns":[{"name":"freq","description":"The frequency in hertz.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/WheelJoint:getSpringFrequency","namespace":"love.physics.WheelJoint","name":"getSpringFrequency"}},"love.graphics.ParticleSystem.setQuads":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setQuads","arguments":[{"name":"quad1","description":"The first Quad to use.","type":"Quad"},{"name":"quad2","description":"The second Quad to use.","type":"Quad"}],"description":"Sets a series of Quads to use for the particle sprites. Particles will choose a Quad from the list based on the particle's current lifetime, allowing for the use of animated sprite sheets with ParticleSystems.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setQuads","namespace":"love.graphics.ParticleSystem","name":"setQuads"}},"love.graphics.SpriteBatch.add":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SpriteBatch_add","arguments":[{"name":"x","description":"The position to draw the object (x-axis).","type":"number"},{"name":"y","description":"The position to draw the object (y-axis).","type":"number"},{"name":"r","default":"0","description":"Orientation (radians).","type":"number"},{"name":"sx","default":"1","description":"Scale factor (x-axis).","type":"number"},{"name":"sy","default":"sx","description":"Scale factor (y-axis).","type":"number"},{"name":"ox","default":"0","description":"Origin offset (x-axis).","type":"number"},{"name":"oy","default":"0","description":"Origin offset (y-axis).","type":"number"},{"name":"kx","default":"0","description":"Shear factor (x-axis).","type":"number"},{"name":"ky","default":"0","description":"Shear factor (y-axis).","type":"number"}],"description":"Adds a sprite to the batch. Sprites are drawn in the order they are added.","returns":[{"name":"id","description":"An identifier for the added sprite.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/SpriteBatch:add","namespace":"love.graphics.SpriteBatch","name":"add"}},"love.font.Rasterizer.hasGlyphs":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Rasterizer_hasGlyphs","arguments":[{"name":"glyph1","description":"Glyph","type":"string or number"},{"name":"glyph2","description":"Glyph","type":"string or number"},{"name":"...","description":"Additional glyphs","type":"string or number"}],"description":"Checks if font contains specified glyphs.","returns":[{"name":"hasGlyphs","description":"Whatever font contains specified glyphs.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Rasterizer:hasGlyphs","namespace":"love.font.Rasterizer","name":"hasGlyphs"}},"love.graphics.SpriteBatch.attachAttribute":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SpriteBatch_attachAttribute","arguments":[{"name":"name","description":"The name of the vertex attribute to attach.","type":"string"},{"name":"mesh","description":"The Mesh to get the vertex attribute from.","type":"Mesh"}],"description":"Attaches a per-vertex attribute from a Mesh onto this SpriteBatch, for use when drawing. This can be combined with a Shader to augment a SpriteBatch with per-vertex or additional per-sprite information instead of just having per-sprite colors.\n\nEach sprite in a SpriteBatch has 4 vertices in the following order: top-left, bottom-left, top-right, bottom-right. The index returned by SpriteBatch:add (and used by SpriteBatch:set) can used to determine the first vertex of a specific sprite with the formula 1 + 4 * ( id - 1 ).","is_type_func":true,"wiki_link":"https://love2d.org/wiki/SpriteBatch:attachAttribute","namespace":"love.graphics.SpriteBatch","name":"attachAttribute"}},"love.graphics.Mesh.getDrawMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_getDrawMode","description":"Gets the mode used when drawing the Mesh.","returns":[{"name":"mode","description":"The mode used when drawing the Mesh.","type":"MeshDrawMode"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:getDrawMode","namespace":"love.graphics.Mesh","name":"getDrawMode"}},"love.physics.RevoluteJoint.isMotorEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_isMotorEnabled","description":"Checks whether the motor is enabled.","returns":[{"name":"enabled","description":"True if enabled, false if disabled.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:isMotorEnabled","namespace":"love.physics.RevoluteJoint","name":"isMotorEnabled"}},"love.graphics.Mesh.setVertices":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_setVertices","arguments":[{"name":"vertices","table":[{"name":"attributecomponent","description":"The first component of the first vertex attribute in the vertex.","type":"number"},{"name":"...","description":"Additional components of all vertex attributes in the vertex.","type":"number"}],"description":"The table filled with vertex information tables for each vertex, in the form of {vertex, ...} where each vertex is a table in the form of {attributecomponent, ...}.","type":"table"},{"name":"startvertex","default":"1","description":"The index of the first vertex to replace.","type":"number"}],"description":"Replaces a range of vertices in the Mesh with new ones. The total number of vertices in a Mesh cannot be changed after it has been created. This is often more efficient than calling Mesh:setVertex in a loop.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:setVertices","namespace":"love.graphics.Mesh","name":"setVertices"}},"love.sound.SoundData.getSampleRate":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SoundData_getSampleRate","description":"Returns the sample rate of the SoundData.","returns":[{"name":"rate","description":"Number of samples per second.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/SoundData:getSampleRate","namespace":"love.sound.SoundData","name":"getSampleRate"}},"love.filesystem.File.seek":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#File_seek","arguments":[{"name":"pos","description":"The position to seek to","type":"number"}],"description":"Seek to a position in a file","returns":[{"name":"success","description":"Whether the operation was successful","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/File:seek","namespace":"love.filesystem.File","name":"seek"}},"love.filesystem.File.isEOF":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#File_isEOF","description":"Gets whether end-of-file has been reached.","returns":[{"name":"eof","description":"Whether EOF has been reached.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/File:isEOF","namespace":"love.filesystem.File","name":"isEOF"}},"love.sound.SoundData.getSampleCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SoundData_getSampleCount","description":"Returns the number of samples per channel of the SoundData.","returns":[{"name":"count","description":"Total number of samples.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/SoundData:getSampleCount","namespace":"love.sound.SoundData","name":"getSampleCount"}},"love.joystick.Joystick.isGamepadDown":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_isGamepadDown","arguments":[{"name":"buttonN","description":"The gamepad button to check.","type":"GamepadButton"}],"description":"Checks if a virtual gamepad button on the Joystick is pressed. If the Joystick is not recognized as a Gamepad or isn't connected, then this function will always return false.","returns":[{"name":"anyDown","description":"True if any supplied button is down, false if not.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:isGamepadDown","namespace":"love.joystick.Joystick","name":"isGamepadDown"}},"love.graphics.Canvas.renderTo":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Canvas_renderTo","arguments":[{"name":"func","description":"A function performing drawing operations.","type":"function"}],"description":"Render to the Canvas using a function.\n\nThis is a shortcut to love.graphics.setCanvas:\n\ncanvas:renderTo( func )\n\nis the same as\n\nlove.graphics.setCanvas( canvas )\n\nfunc()\n\nlove.graphics.setCanvas()","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Canvas:renderTo","namespace":"love.graphics.Canvas","name":"renderTo"}},"love.sound.SoundData.getDuration":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SoundData_getDuration","description":"Gets the duration of the sound data.","returns":[{"name":"duration","description":"The duration of the sound data in seconds.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/SoundData:getDuration","namespace":"love.sound.SoundData","name":"getDuration"}},"love.graphics.ParticleSystem.isPaused":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_isPaused","description":"Checks whether the particle system is paused.","returns":[{"name":"paused","description":"True if system is paused, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:isPaused","namespace":"love.graphics.ParticleSystem","name":"isPaused"}},"love.sound.SoundData.getBitDepth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SoundData_getBitDepth","description":"Returns the number of bits per sample.","returns":[{"name":"bitdepth","description":"Either 8, or 16.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/SoundData:getBitDepth","namespace":"love.sound.SoundData","name":"getBitDepth"}},"love.graphics.SpriteBatch.clear":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SpriteBatch_clear","description":"Removes all sprites from the buffer.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/SpriteBatch:clear","namespace":"love.graphics.SpriteBatch","name":"clear"}},"love.physics.Body.setAngularDamping":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setAngularDamping","arguments":[{"name":"damping","description":"The new angular damping.","type":"number"}],"description":"Sets the angular damping of a Body\n\nSee Body:getAngularDamping for a definition of angular damping.\n\nAngular damping can take any value from 0 to infinity. It is recommended to stay between 0 and 0.1, though. Other values will look unrealistic.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setAngularDamping","namespace":"love.physics.Body","name":"setAngularDamping"}},"love.graphics.ParticleSystem.getTexture":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getTexture","description":"Gets the texture (Image or Canvas) used for the particles.","returns":[{"name":"texture","description":"The Image or Canvas used for the particles.","type":"Texture"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getTexture","namespace":"love.graphics.ParticleSystem","name":"getTexture"}},"love.image.CompressedImageData.getFormat":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#CompressedImageData_getFormat","description":"Gets the format of the CompressedImageData.","returns":[{"name":"format","description":"The format of the CompressedImageData.","type":"CompressedImageFormat"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/CompressedImageData:getFormat","namespace":"love.image.CompressedImageData","name":"getFormat"}},"love.sound.Decoder.getSampleRate":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Decoder_getSampleRate","description":"Returns the sample rate of the Decoder.","returns":[{"name":"rate","description":"Number of samples per second.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Decoder:getSampleRate","namespace":"love.sound.Decoder","name":"getSampleRate"}},"love.sound.Decoder.getDuration":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Decoder_getDuration","description":"Gets the duration of the sound file. It may not always be sample-accurate, and it may return -1 if the duration cannot be determined at all.","returns":[{"name":"duration","description":"The duration of the sound file in seconds, or -1 if it cannot be determined.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Decoder:getDuration","namespace":"love.sound.Decoder","name":"getDuration"}},"love.math.Transform.scale":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Transform_scale","arguments":[{"name":"sx","description":"The relative scale factor along the x-axis.","type":"number"},{"name":"sy","default":"sx","description":"The relative scale factor along the y-axis.","type":"number"}],"description":"Scales the Transform's coordinate system. This method does not reset any previously applied transformations.","returns":[{"name":"transform","description":"The Transform object the method was called on. Allows easily chaining Transform methods.","type":"Transform"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Transform:scale","namespace":"love.math.Transform","name":"scale"}},"love.sound.Decoder.getBitDepth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Decoder_getBitDepth","description":"Returns the number of bits per sample.","returns":[{"name":"bitDepth","description":"Either 8, or 16.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Decoder:getBitDepth","namespace":"love.sound.Decoder","name":"getBitDepth"}},"love.sound.Decoder.clone":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Decoder_clone","description":"Creates a new copy of current decoder.\n\nThe new decoder will start decoding from the beginning of the audio stream.","returns":[{"name":"decoder","description":"New copy of the decoder.","type":"Decoder"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Decoder:clone","namespace":"love.sound.Decoder","name":"clone"}},"love.graphics.Texture.getDepth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_getDepth","description":"Gets the depth of a Volume Texture. Returns 1 for 2D, Cubemap, and Array textures.","returns":[{"name":"depth","description":"The depth of the volume Texture.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:getDepth","namespace":"love.graphics.Texture","name":"getDepth"}},"love.mouse.Cursor.getType":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Cursor_getType","description":"Gets the type of the Cursor.","returns":[{"name":"ctype","description":"The type of the Cursor.","type":"CursorType"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Cursor:getType","namespace":"love.mouse.Cursor","name":"getType"}},"love.physics.World.update":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_update","arguments":[{"name":"dt","description":"The time (in seconds) to advance the physics simulation.","type":"number"},{"name":"velocityiterations","default":"8","description":"The maximum number of steps used to determine the new velocities when resolving a collision.","type":"number"},{"name":"positioniterations","default":"3","description":"The maximum number of steps used to determine the new positions when resolving a collision.","type":"number"}],"description":"Update the state of the world.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:update","namespace":"love.physics.World","name":"update"}},"love.physics.World.setGravity":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_setGravity","arguments":[{"name":"x","description":"The x component of gravity.","type":"number"},{"name":"y","description":"The y component of gravity.","type":"number"}],"description":"Set the gravity of the world.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:setGravity","namespace":"love.physics.World","name":"setGravity"}},"love.physics.World.setContactFilter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_setContactFilter","arguments":[{"name":"filter","description":"The function handling the contact filtering.","type":"function"}],"description":"Sets a function for collision filtering.\n\nIf the group and category filtering doesn't generate a collision decision, this function gets called with the two fixtures as arguments. The function should return a boolean value where true means the fixtures will collide and false means they will pass through each other.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:setContactFilter","namespace":"love.physics.World","name":"setContactFilter"}},"love.audio.Source.getActiveEffects":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getActiveEffects","description":"Gets a list of the Source's active effect names.","returns":[{"name":"effects","description":"A list of the source's active effect names.","type":"table"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getActiveEffects","namespace":"love.audio.Source","name":"getActiveEffects"}},"love.graphics.Video.getSource":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Video_getSource","description":"Gets the audio Source used for playing back the video's audio. May return nil if the video has no audio, or if Video:setSource is called with a nil argument.","returns":[{"name":"source","description":"The audio Source used for audio playback, or nil if the video has no audio.","type":"Source"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Video:getSource","namespace":"love.graphics.Video","name":"getSource"}},"love.physics.PrismaticJoint.getUpperLimit":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_getUpperLimit","description":"Gets the upper limit.","returns":[{"name":"upper","description":"The upper limit, usually in meters.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:getUpperLimit","namespace":"love.physics.PrismaticJoint","name":"getUpperLimit"}},"love.graphics.Shader.send":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Shader_send","arguments":[{"name":"name","description":"Name of the number to send to the shader.","type":"string"},{"name":"number","description":"Number to send to store in the uniform variable.","type":"number"},{"name":"...","description":"Additional numbers to send if the uniform variable is an array.","type":"number"}],"description":"Sends one or more values to a special (''uniform'') variable inside the shader. Uniform variables have to be marked using the ''uniform'' or ''extern'' keyword, e.g.\n\nuniform float time; // 'float' is the typical number type used in GLSL shaders.\n\nuniform float varsvec2 light_pos;\n\nuniform vec4 colors[4;\n\nThe corresponding send calls would be\n\nshader:send('time', t)\n\nshader:send('vars',a,b)\n\nshader:send('light_pos', {light_x, light_y})\n\nshader:send('colors', {r1, g1, b1, a1}, {r2, g2, b2, a2}, {r3, g3, b3, a3}, {r4, g4, b4, a4})\n\nUniform / extern variables are read-only in the shader code and remain constant until modified by a Shader:send call. Uniform variables can be accessed in both the Vertex and Pixel components of a shader, as long as the variable is declared in each.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Shader:send","namespace":"love.graphics.Shader","name":"send"}},"love.graphics.ParticleSystem.setTexture":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setTexture","arguments":[{"name":"texture","description":"An Image or Canvas to use for the particles.","type":"Texture"}],"description":"Sets the texture (Image or Canvas) to be used for the particles.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setTexture","namespace":"love.graphics.ParticleSystem","name":"setTexture"}},"love.graphics.Canvas.generateMipmaps":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Canvas_generateMipmaps","description":"Generates mipmaps for the Canvas, based on the contents of the highest-resolution mipmap level.\n\nThe Canvas must be created with mipmaps set to a MipmapMode other than 'none' for this function to work. It should only be called while the Canvas is not the active render target.\n\nIf the mipmap mode is set to 'auto', this function is automatically called inside love.graphics.setCanvas when switching from this Canvas to another Canvas or to the main screen.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Canvas:generateMipmaps","namespace":"love.graphics.Canvas","name":"generateMipmaps"}},"love.physics.World.isSleepingAllowed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_isSleepingAllowed","description":"Gets the sleep behaviour of the world.","returns":[{"name":"allow","description":"True if bodies in the world are allowed to sleep, or false if not.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:isSleepingAllowed","namespace":"love.physics.World","name":"isSleepingAllowed"}},"love.physics.World.isLocked":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_isLocked","description":"Returns if the world is updating its state.\n\nThis will return true inside the callbacks from World:setCallbacks.","returns":[{"name":"locked","description":"Will be true if the world is in the process of updating its state.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:isLocked","namespace":"love.physics.World","name":"isLocked"}},"love.graphics.Text.set":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Text_set","arguments":[{"name":"textstring","description":"The new string of text to use.","type":"string"}],"description":"Replaces the contents of the Text object with a new unformatted string.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Text:set","namespace":"love.graphics.Text","name":"set"}},"love.physics.Body.setY":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setY","arguments":[{"name":"y","description":"The y position.","type":"number"}],"description":"Set the y position of the body.\n\nThis function cannot wake up the body. ","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setY","namespace":"love.physics.Body","name":"setY"}},"love.audio.Source.getVolumeLimits":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getVolumeLimits","description":"Returns the volume limits of the source.","returns":[{"name":"min","description":"The minimum volume.","type":"number"},{"name":"max","description":"The maximum volume.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getVolumeLimits","namespace":"love.audio.Source","name":"getVolumeLimits"}},"love.physics.World.getJointCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_getJointCount","description":"Returns the number of joints in the world.","returns":[{"name":"n","description":"The number of joints in the world.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:getJointCount","namespace":"love.physics.World","name":"getJointCount"}},"love.graphics.ParticleSystem.setBufferSize":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setBufferSize","arguments":[{"name":"size","description":"The buffer size.","type":"number"}],"description":"Sets the size of the buffer (the max allowed amount of particles in the system).","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setBufferSize","namespace":"love.graphics.ParticleSystem","name":"setBufferSize"}},"love.physics.World.getGravity":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_getGravity","description":"Get the gravity of the world.","returns":[{"name":"x","description":"The x component of gravity.","type":"number"},{"name":"y","description":"The y component of gravity.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:getGravity","namespace":"love.physics.World","name":"getGravity"}},"love.graphics.Text.getFont":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Text_getFont","description":"Gets the Font used with the Text object.","returns":[{"name":"font","description":"The font used with this Text object.","type":"Font"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Text:getFont","namespace":"love.graphics.Text","name":"getFont"}},"love.physics.Body.applyLinearImpulse":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_applyLinearImpulse","arguments":[{"name":"ix","description":"The x component of the impulse applied to the center of mass.","type":"number"},{"name":"iy","description":"The y component of the impulse applied to the center of mass.","type":"number"}],"description":"Applies an impulse to a body.\n\nThis makes a single, instantaneous addition to the body momentum.\n\nAn impulse pushes a body in a direction. A body with with a larger mass will react less. The reaction does '''not''' depend on the timestep, and is equivalent to applying a force continuously for 1 second. Impulses are best used to give a single push to a body. For a continuous push to a body it is better to use Body:applyForce.\n\nIf the position to apply the impulse is not given, it will act on the center of mass of the body. The part of the impulse not directed towards the center of mass will cause the body to spin (and depends on the rotational inertia). \n\nNote that the impulse components and position must be given in world coordinates.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:applyLinearImpulse","namespace":"love.physics.Body","name":"applyLinearImpulse"}},"love.physics.WeldJoint.setFrequency":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WeldJoint_setFrequency","arguments":[{"name":"freq","description":"The new frequency in hertz.","type":"number"}],"description":"Sets a new frequency.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/WeldJoint:setFrequency","namespace":"love.physics.WeldJoint","name":"setFrequency"}},"love.physics.RevoluteJoint.getLowerLimit":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_getLowerLimit","description":"Gets the lower limit.","returns":[{"name":"lower","description":"The lower limit, in radians.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:getLowerLimit","namespace":"love.physics.RevoluteJoint","name":"getLowerLimit"}},"love.physics.Contact.getFixtures":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Contact_getFixtures","description":"Gets the two Fixtures that hold the shapes that are in contact.","returns":[{"name":"fixtureA","description":"The first Fixture.","type":"Fixture"},{"name":"fixtureB","description":"The second Fixture.","type":"Fixture"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Contact:getFixtures","namespace":"love.physics.Contact","name":"getFixtures"}},"love.physics.PulleyJoint.getLengthA":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PulleyJoint_getLengthA","description":"Get the current length of the rope segment attached to the first body.","returns":[{"name":"length","description":"The length of the rope segment.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PulleyJoint:getLengthA","namespace":"love.physics.PulleyJoint","name":"getLengthA"}},"love.physics.Shape.computeAABB":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Shape_computeAABB","arguments":[{"name":"tx","description":"The translation of the shape on the x-axis.","type":"number"},{"name":"ty","description":"The translation of the shape on the y-axis.","type":"number"},{"name":"tr","description":"The shape rotation.","type":"number"},{"name":"childIndex","default":"1","description":"The index of the child to compute the bounding box of.","type":"number"}],"description":"Returns the points of the bounding box for the transformed shape.","returns":[{"name":"topLeftX","description":"The x position of the top-left point.","type":"number"},{"name":"topLeftY","description":"The y position of the top-left point.","type":"number"},{"name":"bottomRightX","description":"The x position of the bottom-right point.","type":"number"},{"name":"bottomRightY","description":"The y position of the bottom-right point.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Shape:computeAABB","namespace":"love.physics.Shape","name":"computeAABB"}},"love.joystick.Joystick.getHatCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_getHatCount","description":"Gets the number of hats on the joystick.","returns":[{"name":"hats","description":"How many hats the joystick has.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:getHatCount","namespace":"love.joystick.Joystick","name":"getHatCount"}},"love.audio.Source.isLooping":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_isLooping","description":"Returns whether the Source will loop.","returns":[{"name":"loop","description":"True if the Source will loop, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:isLooping","namespace":"love.audio.Source","name":"isLooping"}},"love.graphics.Video.rewind":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Video_rewind","description":"Rewinds the Video to the beginning.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Video:rewind","namespace":"love.graphics.Video","name":"rewind"}},"love.physics.WheelJoint.getSpringDampingRatio":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WheelJoint_getSpringDampingRatio","description":"Returns the damping ratio.","returns":[{"name":"ratio","description":"The damping ratio.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/WheelJoint:getSpringDampingRatio","namespace":"love.physics.WheelJoint","name":"getSpringDampingRatio"}},"love.physics.Body.getAngularDamping":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getAngularDamping","description":"Gets the Angular damping of the Body\n\nThe angular damping is the ''rate of decrease of the angular velocity over time'': A spinning body with no damping and no external forces will continue spinning indefinitely. A spinning body with damping will gradually stop spinning.\n\nDamping is not the same as friction - they can be modelled together. However, only damping is provided by Box2D (and LOVE).\n\nDamping parameters should be between 0 and infinity, with 0 meaning no damping, and infinity meaning full damping. Normally you will use a damping value between 0 and 0.1.","returns":[{"name":"damping","description":"The value of the angular damping.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getAngularDamping","namespace":"love.physics.Body","name":"getAngularDamping"}},"love.graphics.ParticleSystem.setEmissionRate":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setEmissionRate","arguments":[{"name":"rate","description":"The amount of particles per second.","type":"number"}],"description":"Sets the amount of particles emitted per second.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setEmissionRate","namespace":"love.graphics.ParticleSystem","name":"setEmissionRate"}},"love.physics.Fixture.destroy":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_destroy","description":"Destroys the fixture.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:destroy","namespace":"love.physics.Fixture","name":"destroy"}},"love.physics.Fixture.getDensity":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_getDensity","description":"Returns the density of the fixture.","returns":[{"name":"density","description":"The fixture density in kilograms per square meter.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:getDensity","namespace":"love.physics.Fixture","name":"getDensity"}},"love.physics.WheelJoint.setMotorEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WheelJoint_setMotorEnabled","arguments":[{"name":"enable","description":"True turns the motor on and false turns it off.","type":"boolean"}],"description":"Starts and stops the joint motor.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/WheelJoint:setMotorEnabled","namespace":"love.physics.WheelJoint","name":"setMotorEnabled"}},"love.graphics.Mesh.setVertexAttribute":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_setVertexAttribute","arguments":[{"name":"vertexindex","description":"The index of the the vertex to be modified (one-based).","type":"number"},{"name":"attributeindex","description":"The index of the attribute within the vertex to be modified (one-based).","type":"number"},{"name":"value1","description":"The new value for the first component of the attribute.","type":"number"},{"name":"value2","description":"The new value for the second component of the attribute.","type":"number"},{"name":"...","description":"Any additional vertex attribute components.","type":"number"}],"description":"Sets the properties of a specific attribute within a vertex in the Mesh.\n\nMeshes without a custom vertex format specified in love.graphics.newMesh have position as their first attribute, texture coordinates as their second attribute, and color as their third attribute.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:setVertexAttribute","namespace":"love.graphics.Mesh","name":"setVertexAttribute"}},"love.font.Rasterizer.getAdvance":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Rasterizer_getAdvance","description":"Gets font advance.","returns":[{"name":"advance","description":"Font advance.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Rasterizer:getAdvance","namespace":"love.font.Rasterizer","name":"getAdvance"}},"love.physics.WheelJoint.setMaxMotorTorque":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WheelJoint_setMaxMotorTorque","arguments":[{"name":"maxTorque","description":"The new maximum torque for the joint motor in newton meters.","type":"number"}],"description":"Sets a new maximum motor torque.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/WheelJoint:setMaxMotorTorque","namespace":"love.physics.WheelJoint","name":"setMaxMotorTorque"}},"love.physics.WheelJoint.getMotorTorque":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WheelJoint_getMotorTorque","arguments":[{"name":"invdt","description":"How long the force applies. Usually the inverse time step or 1/dt.","type":"number"}],"description":"Returns the current torque on the motor.","returns":[{"name":"torque","description":"The torque on the motor in newton meters.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/WheelJoint:getMotorTorque","namespace":"love.physics.WheelJoint","name":"getMotorTorque"}},"love.physics.WheelJoint.getMotorSpeed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WheelJoint_getMotorSpeed","description":"Returns the speed of the motor.","returns":[{"name":"speed","description":"The speed of the joint motor in radians per second.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/WheelJoint:getMotorSpeed","namespace":"love.physics.WheelJoint","name":"getMotorSpeed"}},"love.physics.WheelJoint.getMaxMotorTorque":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WheelJoint_getMaxMotorTorque","description":"Returns the maximum motor torque.","returns":[{"name":"maxTorque","description":"The maximum torque of the joint motor in newton meters.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/WheelJoint:getMaxMotorTorque","namespace":"love.physics.WheelJoint","name":"getMaxMotorTorque"}},"love.font.GlyphData.getBoundingBox":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#GlyphData_getBoundingBox","description":"Gets glyph bounding box.","returns":[{"name":"x","description":"Glyph position x.","type":"number"},{"name":"y","description":"Glyph position y.","type":"number"},{"name":"width","description":"Glyph width.","type":"number"},{"name":"height","description":"Glyph height.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/GlyphData:getBoundingBox","namespace":"love.font.GlyphData","name":"getBoundingBox"}},"love.physics.WheelJoint.getJointTranslation":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WheelJoint_getJointTranslation","description":"Returns the current joint translation.","returns":[{"name":"position","description":"The translation of the joint in meters.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/WheelJoint:getJointTranslation","namespace":"love.physics.WheelJoint","name":"getJointTranslation"}},"love.physics.WheelJoint.getJointSpeed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WheelJoint_getJointSpeed","description":"Returns the current joint translation speed.","returns":[{"name":"speed","description":"The translation speed of the joint in meters per second.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/WheelJoint:getJointSpeed","namespace":"love.physics.WheelJoint","name":"getJointSpeed"}},"love.physics.WheelJoint.getAxis":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WheelJoint_getAxis","description":"Gets the world-space axis vector of the Wheel Joint.","returns":[{"name":"x","description":"The x-axis coordinate of the world-space axis vector.","type":"number"},{"name":"y","description":"The y-axis coordinate of the world-space axis vector.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/WheelJoint:getAxis","namespace":"love.physics.WheelJoint","name":"getAxis"}},"love.font.Rasterizer.getLineHeight":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Rasterizer_getLineHeight","description":"Gets line height of a font.","returns":[{"name":"height","description":"Line height of a font.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Rasterizer:getLineHeight","namespace":"love.font.Rasterizer","name":"getLineHeight"}},"love.physics.WeldJoint.setDampingRatio":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WeldJoint_setDampingRatio","arguments":[{"name":"ratio","description":"The new damping ratio.","type":"number"}],"description":"Sets a new damping ratio.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/WeldJoint:setDampingRatio","namespace":"love.physics.WeldJoint","name":"setDampingRatio"}},"love.math.Transform.apply":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Transform_apply","arguments":[{"name":"other","description":"The other Transform object to apply to this Transform.","type":"Transform"}],"description":"Applies the given other Transform object to this one.\n\nThis effectively multiplies this Transform's internal transformation matrix with the other Transform's (i.e. self * other), and stores the result in this object.","returns":[{"name":"transform","description":"The Transform object the method was called on. Allows easily chaining Transform methods.","type":"Transform"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Transform:apply","namespace":"love.math.Transform","name":"apply"}},"love.image.ImageData.paste":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ImageData_paste","arguments":[{"name":"source","description":"Source ImageData from which to copy.","type":"ImageData"},{"name":"dx","description":"Destination top-left position on x-axis.","type":"number"},{"name":"dy","description":"Destination top-left position on y-axis.","type":"number"},{"name":"sx","description":"Source top-left position on x-axis.","type":"number"},{"name":"sy","description":"Source top-left position on y-axis.","type":"number"},{"name":"sw","description":"Source width.","type":"number"},{"name":"sh","description":"Source height.","type":"number"}],"description":"Paste into ImageData from another source ImageData.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ImageData:paste","namespace":"love.image.ImageData","name":"paste"}},"love.physics.Body.getY":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getY","description":"Get the y position of the body in world coordinates.","returns":[{"name":"y","description":"The y position in world coordinates.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getY","namespace":"love.physics.Body","name":"getY"}},"love.graphics.Mesh.getVertexAttribute":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_getVertexAttribute","arguments":[{"name":"vertexindex","description":"The index of the the vertex you want to retrieve the attribute for (one-based).","type":"number"},{"name":"attributeindex","description":"The index of the attribute within the vertex to be retrieved (one-based).","type":"number"}],"description":"Gets the properties of a specific attribute within a vertex in the Mesh.\n\nMeshes without a custom vertex format specified in love.graphics.newMesh have position as their first attribute, texture coordinates as their second attribute, and color as their third attribute.","returns":[{"name":"value1","description":"The value of the first component of the attribute.","type":"number"},{"name":"value2","description":"The value of the second component of the attribute.","type":"number"},{"name":"...","description":"Any additional vertex attribute components.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:getVertexAttribute","namespace":"love.graphics.Mesh","name":"getVertexAttribute"}},"love.audio.Source.setVolumeLimits":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_setVolumeLimits","arguments":[{"name":"min","description":"The minimum volume.","type":"number"},{"name":"max","description":"The maximum volume.","type":"number"}],"description":"Sets the volume limits of the source. The limits have to be numbers from 0 to 1.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:setVolumeLimits","namespace":"love.audio.Source","name":"setVolumeLimits"}},"love.math.BezierCurve.setControlPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#BezierCurve_setControlPoint","arguments":[{"name":"i","description":"Index of the control point.","type":"number"},{"name":"x","description":"Position of the control point along the x axis.","type":"number"},{"name":"y","description":"Position of the control point along the y axis.","type":"number"}],"description":"Set coordinates of the i-th control point. Indices start with 1.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/BezierCurve:setControlPoint","namespace":"love.math.BezierCurve","name":"setControlPoint"}},"love.math.BezierCurve.insertControlPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#BezierCurve_insertControlPoint","arguments":[{"name":"x","description":"Position of the control point along the x axis.","type":"number"},{"name":"y","description":"Position of the control point along the y axis.","type":"number"},{"name":"i","default":"-1","description":"Index of the control point.","type":"number"}],"description":"Insert control point as the new i-th control point. Existing control points from i onwards are pushed back by 1. Indices start with 1. Negative indices wrap around: -1 is the last control point, -2 the one before the last, etc.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/BezierCurve:insertControlPoint","namespace":"love.math.BezierCurve","name":"insertControlPoint"}},"love.audio.Source.isRelative":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_isRelative","description":"Gets whether the Source's position, velocity, direction, and cone angles are relative to the listener.","returns":[{"name":"relative","description":"True if the position, velocity, direction and cone angles are relative to the listener, false if they're absolute.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:isRelative","namespace":"love.audio.Source","name":"isRelative"}},"love.physics.Shape.getRadius":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Shape_getRadius","description":"Gets the radius of the shape.","returns":[{"name":"radius","description":"The radius of the shape.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Shape:getRadius","namespace":"love.physics.Shape","name":"getRadius"}},"love.physics.Shape.getChildCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Shape_getChildCount","description":"Returns the number of children the shape has.","returns":[{"name":"count","description":"The number of children.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Shape:getChildCount","namespace":"love.physics.Shape","name":"getChildCount"}},"love.physics.Shape.computeMass":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Shape_computeMass","arguments":[{"name":"density","description":"The shape density.","type":"number"}],"description":"Computes the mass properties for the shape with the specified density.","returns":[{"name":"x","description":"The x postition of the center of mass.","type":"number"},{"name":"y","description":"The y postition of the center of mass.","type":"number"},{"name":"mass","description":"The mass of the shape.","type":"number"},{"name":"inertia","description":"The rotational inertia.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Shape:computeMass","namespace":"love.physics.Shape","name":"computeMass"}},"love.physics.World.getBodies":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_getBodies","description":"Returns a table with all bodies.","returns":[{"name":"bodies","description":"A sequence with all bodies.","type":"table"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:getBodies","namespace":"love.physics.World","name":"getBodies"}},"love.joystick.Joystick.isGamepad":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_isGamepad","description":"Gets whether the Joystick is recognized as a gamepad. If this is the case, the Joystick's buttons and axes can be used in a standardized manner across different operating systems and joystick models via Joystick:getGamepadAxis, Joystick:isGamepadDown, love.gamepadpressed, and related functions.\n\nLÖVE automatically recognizes most popular controllers with a similar layout to the Xbox 360 controller as gamepads, but you can add more with love.joystick.setGamepadMapping.","returns":[{"name":"isgamepad","description":"True if the Joystick is recognized as a gamepad, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:isGamepad","namespace":"love.joystick.Joystick","name":"isGamepad"}},"love.physics.Fixture.getCategory":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_getCategory","description":"Returns the categories the fixture belongs to.","returns":[{"name":"category1","description":"The first category.","type":"number"},{"name":"category2","description":"The second category.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:getCategory","namespace":"love.physics.Fixture","name":"getCategory"}},"love.filesystem.File.lines":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#File_lines","description":"Iterate over all the lines in a file.","returns":[{"name":"iterator","description":"The iterator (can be used in for loops).","type":"function"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/File:lines","namespace":"love.filesystem.File","name":"lines"}},"love.physics.RopeJoint.setMaxLength":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RopeJoint_setMaxLength","arguments":[{"name":"maxLength","description":"The new maximum length of the RopeJoint.","type":"number"}],"description":"Sets the maximum length of a RopeJoint.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/RopeJoint:setMaxLength","namespace":"love.physics.RopeJoint","name":"setMaxLength"}},"love.physics.Contact.getRestitution":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Contact_getRestitution","description":"Get the restitution between two shapes that are in contact.","returns":[{"name":"restitution","description":"The restitution between the two shapes.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Contact:getRestitution","namespace":"love.physics.Contact","name":"getRestitution"}},"love.filesystem.File.write":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#File_write","arguments":[{"name":"data","description":"The string data to write.","type":"string"},{"name":"size","default":"all","description":"How many bytes to write.","type":"number"}],"description":"Write data to a file.","returns":[{"name":"success","description":"Whether the operation was successful.","type":"boolean"},{"name":"err","description":"The error string if an error occurred.","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/File:write","namespace":"love.filesystem.File","name":"write"}},"love.math.BezierCurve.evaluate":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#BezierCurve_evaluate","arguments":[{"name":"t","description":"Where to evaluate the curve.","type":"number"}],"description":"Evaluate Bézier curve at parameter t. The parameter must be between 0 and 1 (inclusive).\n\nThis function can be used to move objects along paths or tween parameters. However it should not be used to render the curve, see BezierCurve:render for that purpose.","returns":[{"name":"x","description":"x coordinate of the curve at parameter t.","type":"number"},{"name":"y","description":"y coordinate of the curve at parameter t.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/BezierCurve:evaluate","namespace":"love.math.BezierCurve","name":"evaluate"}},"love.physics.Body.setLinearVelocity":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setLinearVelocity","arguments":[{"name":"x","description":"The x-component of the velocity vector.","type":"number"},{"name":"y","description":"The y-component of the velocity vector.","type":"number"}],"description":"Sets a new linear velocity for the Body.\n\nThis function will not accumulate anything; any impulses previously applied since the last call to World:update will be lost.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setLinearVelocity","namespace":"love.physics.Body","name":"setLinearVelocity"}},"love.graphics.Font.getBaseline":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Font_getBaseline","description":"Gets the baseline of the Font.\n\nMost scripts share the notion of a baseline: an imaginary horizontal line on which characters rest. In some scripts, parts of glyphs lie below the baseline.","returns":[{"name":"baseline","description":"The baseline of the Font in pixels.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Font:getBaseline","namespace":"love.graphics.Font","name":"getBaseline"}},"love.physics.RevoluteJoint.setUpperLimit":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_setUpperLimit","arguments":[{"name":"upper","description":"The upper limit, in radians.","type":"number"}],"description":"Sets the upper limit.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:setUpperLimit","namespace":"love.physics.RevoluteJoint","name":"setUpperLimit"}},"love.joystick.Joystick.getGamepadAxis":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_getGamepadAxis","arguments":[{"name":"axis","description":"The virtual axis to be checked.","type":"GamepadAxis"}],"description":"Gets the direction of a virtual gamepad axis. If the Joystick isn't recognized as a gamepad or isn't connected, this function will always return 0.","returns":[{"name":"direction","description":"Current value of the axis.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:getGamepadAxis","namespace":"love.joystick.Joystick","name":"getGamepadAxis"}},"love.physics.MotorJoint.getLinearOffset":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#MotorJoint_getLinearOffset","description":"Gets the target linear offset between the two Bodies the Joint is attached to.","returns":[{"name":"x","description":"The x component of the target linear offset, relative to the first Body.","type":"number"},{"name":"y","description":"The y component of the target linear offset, relative to the first Body.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/MotorJoint:getLinearOffset","namespace":"love.physics.MotorJoint","name":"getLinearOffset"}},"love.physics.Fixture.setUserData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_setUserData","arguments":[{"name":"value","description":"The Lua value to associate with the fixture.","type":"any"}],"description":"Associates a Lua value with the fixture.\n\nTo delete the reference, explicitly pass nil.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:setUserData","namespace":"love.physics.Fixture","name":"setUserData"}},"love.joystick.Joystick.getAxis":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_getAxis","arguments":[{"name":"axis","description":"The index of the axis to be checked.","type":"number"}],"description":"Gets the direction of an axis.","returns":[{"name":"direction","description":"Current value of the axis.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:getAxis","namespace":"love.joystick.Joystick","name":"getAxis"}},"love.graphics.ParticleSystem.setRotation":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setRotation","arguments":[{"name":"min","description":"The minimum initial angle (radians).","type":"number"},{"name":"max","default":"min","description":"The maximum initial angle (radians).","type":"number"}],"description":"Sets the rotation of the image upon particle creation (in radians).","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setRotation","namespace":"love.graphics.ParticleSystem","name":"setRotation"}},"love.physics.RevoluteJoint.setLowerLimit":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_setLowerLimit","arguments":[{"name":"lower","description":"The lower limit, in radians.","type":"number"}],"description":"Sets the lower limit.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:setLowerLimit","namespace":"love.physics.RevoluteJoint","name":"setLowerLimit"}},"love.physics.World.isDestroyed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_isDestroyed","description":"Gets whether the World is destroyed. Destroyed worlds cannot be used.","returns":[{"name":"destroyed","description":"Whether the World is destroyed.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:isDestroyed","namespace":"love.physics.World","name":"isDestroyed"}},"love.physics.Contact.setEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Contact_setEnabled","arguments":[{"name":"enabled","description":"True to enable or false to disable.","type":"boolean"}],"description":"Enables or disables the contact.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Contact:setEnabled","namespace":"love.physics.Contact","name":"setEnabled"}},"love.audio.RecordingDevice.isRecording":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RecordingDevice_isRecording","description":"Gets whether the device is currently recording.","returns":[{"name":"recording","description":"True if the recording, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RecordingDevice:isRecording","namespace":"love.audio.RecordingDevice","name":"isRecording"}},"love.physics.RevoluteJoint.setLimits":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_setLimits","arguments":[{"name":"lower","description":"The lower limit, in radians.","type":"number"},{"name":"upper","description":"The upper limit, in radians.","type":"number"}],"description":"Sets the limits.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:setLimits","namespace":"love.physics.RevoluteJoint","name":"setLimits"}},"love.math.Transform.setTransformation":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Transform_setTransformation","arguments":[{"name":"x","description":"The position of the Transform on the x-axis.","type":"number"},{"name":"y","description":"The position of the Transform on the y-axis.","type":"number"},{"name":"angle","default":"0","description":"The orientation of the Transform in radians.","type":"number"},{"name":"sx","default":"1","description":"Scale factor on the x-axis.","type":"number"},{"name":"sy","default":"sx","description":"Scale factor on the y-axis.","type":"number"},{"name":"ox","default":"0","description":"Origin offset on the x-axis.","type":"number"},{"name":"oy","default":"0","description":"Origin offset on the y-axis.","type":"number"},{"name":"kx","default":"0","description":"Shearing / skew factor on the x-axis.","type":"number"},{"name":"ky","default":"0","description":"Shearing / skew factor on the y-axis.","type":"number"}],"description":"Resets the Transform to the specified transformation parameters.","returns":[{"name":"transform","description":"The Transform object the method was called on. Allows easily chaining Transform methods.","type":"Transform"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Transform:setTransformation","namespace":"love.math.Transform","name":"setTransformation"}},"love.physics.Contact.getNormal":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Contact_getNormal","description":"Get the normal vector between two shapes that are in contact.\n\nThis function returns the coordinates of a unit vector that points from the first shape to the second.","returns":[{"name":"nx","description":"The x component of the normal vector.","type":"number"},{"name":"ny","description":"The y component of the normal vector.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Contact:getNormal","namespace":"love.physics.Contact","name":"getNormal"}},"love.physics.EdgeShape.getPreviousVertex":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#EdgeShape_getPreviousVertex","description":"Gets the vertex that establishes a connection to the previous shape.\n\nSetting next and previous EdgeShape vertices can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.","returns":[{"name":"x","description":"The x-component of the vertex, or nil if EdgeShape:setPreviousVertex hasn't been called.","type":"number"},{"name":"y","description":"The y-component of the vertex, or nil if EdgeShape:setPreviousVertex hasn't been called.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/EdgeShape:getPreviousVertex","namespace":"love.physics.EdgeShape","name":"getPreviousVertex"}},"love.graphics.ParticleSystem.setParticleLifetime":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setParticleLifetime","arguments":[{"name":"min","description":"The minimum life of the particles (in seconds).","type":"number"},{"name":"max","default":"min","description":"The maximum life of the particles (in seconds).","type":"number"}],"description":"Sets the lifetime of the particles.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setParticleLifetime","namespace":"love.graphics.ParticleSystem","name":"setParticleLifetime"}},"love.physics.Body.setType":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setType","arguments":[{"name":"type","description":"The new type.","type":"BodyType"}],"description":"Sets a new body type.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setType","namespace":"love.physics.Body","name":"setType"}},"love.physics.RevoluteJoint.getMotorSpeed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_getMotorSpeed","description":"Gets the motor speed.","returns":[{"name":"s","description":"The motor speed, radians per second.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:getMotorSpeed","namespace":"love.physics.RevoluteJoint","name":"getMotorSpeed"}},"love.image.CompressedImageData.getDimensions":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#CompressedImageData_getDimensions","description":"Gets the width and height of the CompressedImageData.","returns":[{"name":"width","description":"The width of the CompressedImageData.","type":"number"},{"name":"height","description":"The height of the CompressedImageData.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/CompressedImageData:getDimensions","namespace":"love.image.CompressedImageData","name":"getDimensions"}},"love.graphics.SpriteBatch.set":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SpriteBatch_set","arguments":[{"name":"spriteindex","description":"The index of the sprite that will be changed.","type":"number"},{"name":"x","description":"The position to draw the object (x-axis).","type":"number"},{"name":"y","description":"The position to draw the object (y-axis).","type":"number"},{"name":"r","default":"0","description":"Orientation (radians).","type":"number"},{"name":"sx","default":"1","description":"Scale factor (x-axis).","type":"number"},{"name":"sy","default":"sx","description":"Scale factor (y-axis).","type":"number"},{"name":"ox","default":"0","description":"Origin offset (x-axis).","type":"number"},{"name":"oy","default":"0","description":"Origin offset (y-axis).","type":"number"},{"name":"kx","default":"0","description":"Shear factor (x-axis).","type":"number"},{"name":"ky","default":"0","description":"Shear factor (y-axis).","type":"number"}],"description":"Changes a sprite in the batch. This requires the sprite index returned by SpriteBatch:add or SpriteBatch:addLayer.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/SpriteBatch:set","namespace":"love.graphics.SpriteBatch","name":"set"}},"love.physics.World.getContactCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_getContactCount","description":"Returns the number of contacts in the world.","returns":[{"name":"n","description":"The number of contacts in the world.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:getContactCount","namespace":"love.physics.World","name":"getContactCount"}},"love.physics.RevoluteJoint.getJointSpeed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_getJointSpeed","description":"Get the current joint angle speed.","returns":[{"name":"s","description":"Joint angle speed in radians/second.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:getJointSpeed","namespace":"love.physics.RevoluteJoint","name":"getJointSpeed"}},"love.graphics.Mesh.setAttributeEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_setAttributeEnabled","arguments":[{"name":"name","description":"The name of the vertex attribute to enable or disable.","type":"string"},{"name":"enable","description":"Whether the vertex attribute is used when drawing this Mesh.","type":"boolean"}],"description":"Enables or disables a specific vertex attribute in the Mesh. Vertex data from disabled attributes is not used when drawing the Mesh.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:setAttributeEnabled","namespace":"love.graphics.Mesh","name":"setAttributeEnabled"}},"love.audio.Source.setFilter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_setFilter","arguments":[{"name":"settings","table":[{"name":"type","description":"The type of filter to use.","type":"FilterType"},{"name":"volume","description":"The overall volume of the audio. Must be between 0 and 1.","type":"number"},{"name":"highgain","description":"Volume of high-frequency audio. Only applies to low-pass and band-pass filters. Must be between 0 and 1.","type":"number"},{"name":"lowgain","description":"Volume of low-frequency audio. Only applies to high-pass and band-pass filters. Must be between 0 and 1.","type":"number"}],"description":"The filter settings to use for this Source, with the following fields:","type":"table"}],"description":"Sets a low-pass, high-pass, or band-pass filter to apply when playing the Source.","returns":[{"name":"success","description":"Whether the filter was successfully applied to the Source.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:setFilter","namespace":"love.audio.Source","name":"setFilter"}},"love.filesystem.File.getFilename":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#File_getFilename","description":"Gets the filename that the File object was created with. If the file object originated from the love.filedropped callback, the filename will be the full platform-dependent file path.","returns":[{"name":"filename","description":"The filename of the File.","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/File:getFilename","namespace":"love.filesystem.File","name":"getFilename"}},"love.physics.Body.resetMassData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_resetMassData","description":"Resets the mass of the body by recalculating it from the mass properties of the fixtures.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:resetMassData","namespace":"love.physics.Body","name":"resetMassData"}},"love.physics.PulleyJoint.setMaxLengths":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PulleyJoint_setMaxLengths","arguments":[{"name":"max1","description":"The new maximum length of the first segment.","type":"number"},{"name":"max2","description":"The new maximum length of the second segment.","type":"number"}],"description":"Set the maximum lengths of the rope segments.\n\nThe physics module also imposes maximum values for the rope segments. If the parameters exceed these values, the maximum values are set instead of the requested values.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/PulleyJoint:setMaxLengths","namespace":"love.physics.PulleyJoint","name":"setMaxLengths"}},"love.physics.PulleyJoint.setConstant":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PulleyJoint_setConstant","arguments":[{"name":"length","description":"The new length of the rope in the joint.","type":"number"}],"description":"Set the total length of the rope.\n\nSetting a new length for the rope updates the maximum length values of the joint.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/PulleyJoint:setConstant","namespace":"love.physics.PulleyJoint","name":"setConstant"}},"love.graphics.ParticleSystem.getSizeVariation":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getSizeVariation","description":"Gets the amount of size variation (0 meaning no variation and 1 meaning full variation between start and end).","returns":[{"name":"variation","description":"The amount of variation (0 meaning no variation and 1 meaning full variation between start and end).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getSizeVariation","namespace":"love.graphics.ParticleSystem","name":"getSizeVariation"}},"love.physics.DistanceJoint.setLength":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#DistanceJoint_setLength","arguments":[{"name":"l","description":"The length between the two Bodies.","type":"number"}],"description":"Sets the equilibrium distance between the two Bodies.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/DistanceJoint:setLength","namespace":"love.physics.DistanceJoint","name":"setLength"}},"love.physics.PulleyJoint.getMaxLengths":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PulleyJoint_getMaxLengths","description":"Get the maximum lengths of the rope segments.","returns":[{"name":"len1","description":"The maximum length of the first rope segment.","type":"number"},{"name":"len2","description":"The maximum length of the second rope segment.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PulleyJoint:getMaxLengths","namespace":"love.physics.PulleyJoint","name":"getMaxLengths"}},"love.math.BezierCurve.render":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#BezierCurve_render","arguments":[{"name":"depth","default":"5","description":"Number of recursive subdivision steps.","type":"number"}],"description":"Get a list of coordinates to be used with love.graphics.line.\n\nThis function samples the Bézier curve using recursive subdivision. You can control the recursion depth using the depth parameter.\n\nIf you are just interested to know the position on the curve given a parameter, use BezierCurve:evaluate.","returns":[{"name":"coordinates","description":"List of x,y-coordinate pairs of points on the curve.","type":"table"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/BezierCurve:render","namespace":"love.math.BezierCurve","name":"render"}},"love.graphics.Texture.setMipmapFilter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_setMipmapFilter","arguments":[{"name":"filtermode","description":"The filter mode to use in between mipmap levels. 'nearest' will often give better performance.","type":"FilterMode"},{"name":"sharpness","default":"0","description":"A positive sharpness value makes the texture use a more detailed mipmap level when drawing, at the expense of performance. A negative value does the reverse.","type":"number"}],"description":"Sets the mipmap filter mode for a Texture. Prior to 11.0 this method only worked on Images.\n\nMipmapping is useful when drawing a texture at a reduced scale. It can improve performance and reduce aliasing issues.\n\nIn created with the mipmaps flag enabled for the mipmap filter to have any effect. In versions prior to 0.10.0 it's best to call this method directly after creating the image with love.graphics.newImage, to avoid bugs in certain graphics drivers.\n\nDue to hardware restrictions and driver bugs, in versions prior to 0.10.0 images that weren't loaded from a CompressedData must have power-of-two dimensions (64x64, 512x256, etc.) to use mipmaps.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:setMipmapFilter","namespace":"love.graphics.Texture","name":"setMipmapFilter"}},"love.graphics.Texture.getFilter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_getFilter","description":"Gets the filter mode of the Texture.","returns":[{"name":"min","description":"Filter mode to use when minifying the texture (rendering it at a smaller size on-screen than its size in pixels).","type":"FilterMode"},{"name":"mag","description":"Filter mode to use when magnifying the texture (rendering it at a smaller size on-screen than its size in pixels).","type":"FilterMode"},{"name":"anisotropy","description":"Maximum amount of anisotropic filtering used.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:getFilter","namespace":"love.graphics.Texture","name":"getFilter"}},"love.physics.World.getBodyCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_getBodyCount","description":"Returns the number of bodies in the world.","returns":[{"name":"n","description":"The number of bodies in the world.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:getBodyCount","namespace":"love.physics.World","name":"getBodyCount"}},"love.physics.PulleyJoint.getConstant":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PulleyJoint_getConstant","description":"Get the total length of the rope.","returns":[{"name":"length","description":"The length of the rope in the joint.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PulleyJoint:getConstant","namespace":"love.physics.PulleyJoint","name":"getConstant"}},"love.physics.PrismaticJoint.setUpperLimit":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_setUpperLimit","arguments":[{"name":"upper","description":"The upper limit, usually in meters.","type":"number"}],"description":"Sets the upper limit.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:setUpperLimit","namespace":"love.physics.PrismaticJoint","name":"setUpperLimit"}},"love.graphics.SpriteBatch.getColor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SpriteBatch_getColor","description":"Gets the color that will be used for the next add and set operations.\n\nIf no color has been set with SpriteBatch:setColor or the current SpriteBatch color has been cleared, this method will return nil.\n\nIn versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1.","returns":[{"name":"r","description":"The red component (0-1).","type":"number"},{"name":"g","description":"The green component (0-1).","type":"number"},{"name":"b","description":"The blue component (0-1).","type":"number"},{"name":"a","description":"The alpha component (0-1).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/SpriteBatch:getColor","namespace":"love.graphics.SpriteBatch","name":"getColor"}},"love.graphics.Text.addf":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Text_addf","arguments":[{"name":"textstring","description":"The text to add to the object.","type":"string"},{"name":"wraplimit","description":"The maximum width in pixels of the text before it gets automatically wrapped to a new line.","type":"number"},{"name":"align","description":"The alignment of the text.","type":"AlignMode"},{"name":"x","description":"The position of the new text (x-axis).","type":"number"},{"name":"y","description":"The position of the new text (y-axis).","type":"number"},{"name":"angle","default":"0","description":"Orientation (radians).","type":"number"},{"name":"sx","default":"1","description":"Scale factor (x-axis).","type":"number"},{"name":"sy","default":"sx","description":"Scale factor (y-axis).","type":"number"},{"name":"ox","default":"0","description":"Origin offset (x-axis).","type":"number"},{"name":"oy","default":"0","description":"Origin offset (y-axis).","type":"number"},{"name":"kx","default":"0","description":"Shearing / skew factor (x-axis).","type":"number"},{"name":"ky","default":"0","description":"Shearing / skew factor (y-axis).","type":"number"}],"description":"Adds additional formatted / colored text to the Text object at the specified position.\n\nThe word wrap limit is applied before any scaling, rotation, and other coordinate transformations. Therefore the amount of text per line stays constant given the same wrap limit, even if the scale arguments change.","returns":[{"name":"index","description":"An index number that can be used with Text:getWidth or Text:getHeight.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Text:addf","namespace":"love.graphics.Text","name":"addf"}},"love.physics.PrismaticJoint.setMotorSpeed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_setMotorSpeed","arguments":[{"name":"s","description":"The motor speed, usually in meters per second.","type":"number"}],"description":"Sets the motor speed.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:setMotorSpeed","namespace":"love.physics.PrismaticJoint","name":"setMotorSpeed"}},"love.physics.PrismaticJoint.setMotorEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_setMotorEnabled","arguments":[{"name":"enable","description":"True to enable, false to disable.","type":"boolean"}],"description":"Enables/disables the joint motor.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:setMotorEnabled","namespace":"love.physics.PrismaticJoint","name":"setMotorEnabled"}},"love.physics.GearJoint.setRatio":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#GearJoint_setRatio","arguments":[{"name":"ratio","description":"The new ratio of the joint.","type":"number"}],"description":"Set the ratio of a gear joint.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/GearJoint:setRatio","namespace":"love.physics.GearJoint","name":"setRatio"}},"love.graphics.ParticleSystem.getSpinVariation":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getSpinVariation","description":"Gets the amount of spin variation (0 meaning no variation and 1 meaning full variation between start and end).","returns":[{"name":"variation","description":"The amount of variation (0 meaning no variation and 1 meaning full variation between start and end).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getSpinVariation","namespace":"love.graphics.ParticleSystem","name":"getSpinVariation"}},"love.physics.PrismaticJoint.setLowerLimit":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_setLowerLimit","arguments":[{"name":"lower","description":"The lower limit, usually in meters.","type":"number"}],"description":"Sets the lower limit.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:setLowerLimit","namespace":"love.physics.PrismaticJoint","name":"setLowerLimit"}},"love.physics.PrismaticJoint.setLimitsEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_setLimitsEnabled","description":"Enables/disables the joint limit.","returns":[{"name":"enable","description":"True if enabled, false if disabled.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:setLimitsEnabled","namespace":"love.physics.PrismaticJoint","name":"setLimitsEnabled"}},"love.physics.PrismaticJoint.setLimits":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_setLimits","arguments":[{"name":"lower","description":"The lower limit, usually in meters.","type":"number"},{"name":"upper","description":"The upper limit, usually in meters.","type":"number"}],"description":"Sets the limits.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:setLimits","namespace":"love.physics.PrismaticJoint","name":"setLimits"}},"love.physics.RevoluteJoint.setMotorSpeed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_setMotorSpeed","arguments":[{"name":"s","description":"The motor speed, radians per second.","type":"number"}],"description":"Sets the motor speed.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:setMotorSpeed","namespace":"love.physics.RevoluteJoint","name":"setMotorSpeed"}},"love.physics.World.setCallbacks":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_setCallbacks","arguments":[{"name":"beginContact","description":"Gets called when two fixtures begin to overlap.","type":"function"},{"name":"endContact","description":"Gets called when two fixtures cease to overlap. This will also be called outside of a world update, when colliding objects are destroyed.","type":"function"},{"name":"preSolve","description":"Gets called before a collision gets resolved.","type":"function"},{"name":"postSolve","description":"Gets called after the collision has been resolved.","type":"function"}],"description":"Sets functions for the collision callbacks during the world update.\n\nFour Lua functions can be given as arguments. The value nil removes a function.\n\nWhen called, each function will be passed three arguments. The first two arguments are the colliding fixtures and the third argument is the Contact between them. The postSolve callback additionally gets the normal and tangent impulse for each contact point. See notes.\n\nIf you are interested to know when exactly each callback is called, consult a Box2d manual","is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:setCallbacks","namespace":"love.physics.World","name":"setCallbacks"}},"love.physics.PrismaticJoint.getMotorSpeed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_getMotorSpeed","description":"Gets the motor speed.","returns":[{"name":"s","description":"The motor speed, usually in meters per second.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:getMotorSpeed","namespace":"love.physics.PrismaticJoint","name":"getMotorSpeed"}},"love.physics.PrismaticJoint.getMaxMotorForce":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_getMaxMotorForce","description":"Gets the maximum motor force.","returns":[{"name":"f","description":"The maximum motor force, usually in N.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:getMaxMotorForce","namespace":"love.physics.PrismaticJoint","name":"getMaxMotorForce"}},"love.thread.Channel.supply":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Channel_supply","arguments":[{"name":"value","description":"The contents of the message.","type":"Variant"}],"description":"Send a message to the thread Channel and wait for a thread to accept it.\n\nSee Variant for the list of supported types.","returns":[{"name":"success","description":"Whether the message was successfully supplied (always true).","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Channel:supply","namespace":"love.thread.Channel","name":"supply"}},"love.graphics.Text.add":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Text_add","arguments":[{"name":"textstring","description":"The text to add to the object.","type":"string"},{"name":"x","default":"0","description":"The position of the new text on the x-axis.","type":"number"},{"name":"y","default":"0","description":"The position of the new text on the y-axis.","type":"number"},{"name":"angle","default":"0","description":"The orientation of the new text in radians.","type":"number"},{"name":"sx","default":"1","description":"Scale factor on the x-axis.","type":"number"},{"name":"sy","default":"sx","description":"Scale factor on the y-axis.","type":"number"},{"name":"ox","default":"0","description":"Origin offset on the x-axis.","type":"number"},{"name":"oy","default":"0","description":"Origin offset on the y-axis.","type":"number"},{"name":"kx","default":"0","description":"Shearing / skew factor on the x-axis.","type":"number"},{"name":"ky","default":"0","description":"Shearing / skew factor on the y-axis.","type":"number"}],"description":"Adds additional colored text to the Text object at the specified position.","returns":[{"name":"index","description":"An index number that can be used with Text:getWidth or Text:getHeight.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Text:add","namespace":"love.graphics.Text","name":"add"}},"love.graphics.ParticleSystem.getTangentialAcceleration":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getTangentialAcceleration","description":"Gets the tangential acceleration (acceleration perpendicular to the particle's direction).","returns":[{"name":"min","description":"The minimum acceleration.","type":"number"},{"name":"max","description":"The maximum acceleration.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getTangentialAcceleration","namespace":"love.graphics.ParticleSystem","name":"getTangentialAcceleration"}},"love.graphics.Text.getHeight":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Text_getHeight","description":"Gets the height of the text in pixels.","returns":[{"name":" height ","description":"The height of the text. If multiple sub-strings have been added with Text:add, the height of the last sub-string is returned.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Text:getHeight","namespace":"love.graphics.Text","name":"getHeight"}},"love.joystick.Joystick.getGamepadMapping":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_getGamepadMapping","arguments":[{"name":"axis","description":"The virtual gamepad axis to get the binding for.","type":"GamepadAxis"}],"description":"Gets the button, axis or hat that a virtual gamepad input is bound to.","returns":[{"name":"inputtype","description":"The type of input the virtual gamepad axis is bound to.","type":"JoystickInputType"},{"name":"inputindex","description":"The index of the Joystick's button, axis or hat that the virtual gamepad axis is bound to.","type":"number"},{"name":"hatdirection","description":"The direction of the hat, if the virtual gamepad axis is bound to a hat. nil otherwise.","type":"JoystickHat"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:getGamepadMapping","namespace":"love.joystick.Joystick","name":"getGamepadMapping"}},"love.graphics.SpriteBatch.setLayer":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SpriteBatch_setLayer","arguments":[{"name":"spriteindex","description":"The index of the existing sprite to replace.","type":"number"},{"name":"layerindex","description":"The index of the layer in the Array Texture to use for this sprite.","type":"number"},{"name":"x","default":"0","description":"The position to draw the sprite (x-axis).","type":"number"},{"name":"y","default":"0","description":"The position to draw the sprite (y-axis).","type":"number"},{"name":"r","default":"0","description":"Orientation (radians).","type":"number"},{"name":"sx","default":"1","description":"Scale factor (x-axis).","type":"number"},{"name":"sy","default":"sx","description":"Scale factor (y-axis).","type":"number"},{"name":"ox","default":"0","description":"Origin offset (x-axis).","type":"number"},{"name":"oy","default":"0","description":"Origin offset (y-axis).","type":"number"},{"name":"kx","default":"0","description":"Shearing factor (x-axis).","type":"number"},{"name":"ky","default":"0","description":"Shearing factor (y-axis).","type":"number"}],"description":"Changes a sprite previously added with add or addLayer, in a batch created with an Array Texture.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/SpriteBatch:setLayer","namespace":"love.graphics.SpriteBatch","name":"setLayer"}},"love.physics.PrismaticJoint.getJointTranslation":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_getJointTranslation","description":"Get the current joint translation.","returns":[{"name":"t","description":"Joint translation, usually in meters..","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:getJointTranslation","namespace":"love.physics.PrismaticJoint","name":"getJointTranslation"}},"love.physics.Fixture.getFriction":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_getFriction","description":"Returns the friction of the fixture.","returns":[{"name":"friction","description":"The fixture friction.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:getFriction","namespace":"love.physics.Fixture","name":"getFriction"}},"love.physics.PrismaticJoint.getJointSpeed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_getJointSpeed","description":"Get the current joint angle speed.","returns":[{"name":"s","description":"Joint angle speed in meters/second.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:getJointSpeed","namespace":"love.physics.PrismaticJoint","name":"getJointSpeed"}},"love.physics.FrictionJoint.setMaxForce":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#FrictionJoint_setMaxForce","arguments":[{"name":"maxForce","description":"Max force in Newtons.","type":"number"}],"description":"Sets the maximum friction force in Newtons.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/FrictionJoint:setMaxForce","namespace":"love.physics.FrictionJoint","name":"setMaxForce"}},"love.graphics.ParticleSystem.getRotation":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getRotation","description":"Gets the rotation of the image upon particle creation (in radians).","returns":[{"name":"min","description":"The minimum initial angle (radians).","type":"number"},{"name":"max","description":"The maximum initial angle (radians).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getRotation","namespace":"love.graphics.ParticleSystem","name":"getRotation"}},"love.physics.Body.getPosition":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getPosition","description":"Get the position of the body.\n\nNote that this may not be the center of mass of the body.","returns":[{"name":"x","description":"The x position.","type":"number"},{"name":"y","description":"The y position.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getPosition","namespace":"love.physics.Body","name":"getPosition"}},"love.physics.MouseJoint.setTarget":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#MouseJoint_setTarget","arguments":[{"name":"x","description":"The x-component of the target.","type":"number"},{"name":"y","description":"The y-component of the target.","type":"number"}],"description":"Sets the target point.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/MouseJoint:setTarget","namespace":"love.physics.MouseJoint","name":"setTarget"}},"love.graphics.Texture.getDPIScale":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_getDPIScale","description":"Gets the DPI scale factor of the Texture.\n\nThe DPI scale factor represents relative pixel density. A DPI scale factor of 2 means the texture has twice the pixel density in each dimension (4 times as many pixels in the same area) compared to a texture with a DPI scale factor of 1.\n\nFor example, a texture with pixel dimensions of 100x100 with a DPI scale factor of 2 will be drawn as if it was 50x50. This is useful with high-dpi / retina displays to easily allow swapping out higher or lower pixel density Images and Canvases without needing any extra manual scaling logic.","returns":[{"name":"dpiscale","description":"The DPI scale factor of the Texture.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:getDPIScale","namespace":"love.graphics.Texture","name":"getDPIScale"}},"love.physics.MouseJoint.setDampingRatio":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#MouseJoint_setDampingRatio","arguments":[{"name":"ratio","description":"The new damping ratio.","type":"number"}],"description":"Sets a new damping ratio.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/MouseJoint:setDampingRatio","namespace":"love.physics.MouseJoint","name":"setDampingRatio"}},"love.graphics.Mesh.attachAttribute":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_attachAttribute","arguments":[{"name":"name","description":"The name of the vertex attribute to attach.","type":"string"},{"name":"mesh","description":"The Mesh to get the vertex attribute from.","type":"Mesh"}],"description":"Attaches a vertex attribute from a different Mesh onto this Mesh, for use when drawing. This can be used to share vertex attribute data between several different Meshes.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:attachAttribute","namespace":"love.graphics.Mesh","name":"attachAttribute"}},"love.audio.Source.getEffect":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getEffect","arguments":[{"name":"name","description":"The name of the effect.","type":"string"},{"name":"filtersettings","default":"{}","description":"An optional empty table that will be filled with the filter settings.","type":"table"}],"description":"Gets the filter settings associated to a specific effect.\n\nThis function returns nil if the effect was applied with no filter settings associated to it.","returns":[{"name":"filtersettings","table":[{"name":"volume","description":"The overall volume of the audio.","type":"number"},{"name":"highgain","description":"Volume of high-frequency audio. Only applies to low-pass and band-pass filters.","type":"number"},{"name":"lowgain","description":"Volume of low-frequency audio. Only applies to high-pass and band-pass filters.","type":"number"}],"description":"The settings for the filter associated to this effect, or nil if the effect is not present in this Source or has no filter associated. The table has the following fields:","type":"table"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getEffect","namespace":"love.audio.Source","name":"getEffect"}},"love.graphics.ParticleSystem.setSizeVariation":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setSizeVariation","arguments":[{"name":"variation","description":"The amount of variation (0 meaning no variation and 1 meaning full variation between start and end).","type":"number"}],"description":"Sets the amount of size variation (0 meaning no variation and 1 meaning full variation between start and end).","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setSizeVariation","namespace":"love.graphics.ParticleSystem","name":"setSizeVariation"}},"love.physics.DistanceJoint.setFrequency":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#DistanceJoint_setFrequency","arguments":[{"name":"Hz","description":"The response speed.","type":"number"}],"description":"Sets the response speed.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/DistanceJoint:setFrequency","namespace":"love.physics.DistanceJoint","name":"setFrequency"}},"love.physics.MotorJoint.setLinearOffset":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#MotorJoint_setLinearOffset","arguments":[{"name":"x","description":"The x component of the target linear offset, relative to the first Body.","type":"number"},{"name":"y","description":"The y component of the target linear offset, relative to the first Body.","type":"number"}],"description":"Sets the target linear offset between the two Bodies the Joint is attached to.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/MotorJoint:setLinearOffset","namespace":"love.physics.MotorJoint","name":"setLinearOffset"}},"love.physics.MotorJoint.setAngularOffset":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#MotorJoint_setAngularOffset","arguments":[{"name":"angleoffset","description":"The target angular offset in radians: the second body's angle minus the first body's angle.","type":"number"}],"description":"Sets the target angluar offset between the two Bodies the Joint is attached to.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/MotorJoint:setAngularOffset","namespace":"love.physics.MotorJoint","name":"setAngularOffset"}},"love.physics.ChainShape.getPreviousVertex":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ChainShape_getPreviousVertex","description":"Gets the vertex that establishes a connection to the previous shape.\n\nSetting next and previous ChainShape vertices can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.","returns":[{"name":"x","description":"The x-component of the vertex, or nil if ChainShape:setPreviousVertex hasn't been called.","type":"number"},{"name":"y","description":"The y-component of the vertex, or nil if ChainShape:setPreviousVertex hasn't been called.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ChainShape:getPreviousVertex","namespace":"love.physics.ChainShape","name":"getPreviousVertex"}},"love.physics.RevoluteJoint.setMotorEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_setMotorEnabled","arguments":[{"name":"enable","description":"True to enable, false to disable.","type":"boolean"}],"description":"Enables/disables the joint motor.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:setMotorEnabled","namespace":"love.physics.RevoluteJoint","name":"setMotorEnabled"}},"love.physics.MotorJoint.getAngularOffset":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#MotorJoint_getAngularOffset","description":"Gets the target angular offset between the two Bodies the Joint is attached to.","returns":[{"name":"angleoffset","description":"The target angular offset in radians: the second body's angle minus the first body's angle.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/MotorJoint:getAngularOffset","namespace":"love.physics.MotorJoint","name":"getAngularOffset"}},"love.graphics.Video.getDimensions":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Video_getDimensions","description":"Gets the width and height of the Video in pixels.","returns":[{"name":"width","description":"The width of the Video.","type":"number"},{"name":"height","description":"The height of the Video.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Video:getDimensions","namespace":"love.graphics.Video","name":"getDimensions"}},"love.physics.World.queryBoundingBox":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_queryBoundingBox","arguments":[{"name":"topLeftX","description":"The x position of the top-left point.","type":"number"},{"name":"topLeftY","description":"The y position of the top-left point.","type":"number"},{"name":"bottomRightX","description":"The x position of the bottom-right point.","type":"number"},{"name":"bottomRightY","description":"The y position of the bottom-right point.","type":"number"},{"name":"callback","description":"This function gets passed one argument, the fixture, and should return a boolean. The search will continue if it is true or stop if it is false.","type":"function"}],"description":"Calls a function for each fixture inside the specified area by searching for any overlapping bounding box (Fixture:getBoundingBox).","is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:queryBoundingBox","namespace":"love.physics.World","name":"queryBoundingBox"}},"love.audio.Source.tell":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_tell","arguments":[{"name":"unit","default":"'seconds'","description":"The type of unit for the return value.","type":"TimeUnit"}],"description":"Gets the currently playing position of the Source.","returns":[{"name":"position","description":"The currently playing position of the Source.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:tell","namespace":"love.audio.Source","name":"tell"}},"love.audio.Source.setPosition":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_setPosition","arguments":[{"name":"x","description":"The X position of the Source.","type":"number"},{"name":"y","description":"The Y position of the Source.","type":"number"},{"name":"z","description":"The Z position of the Source.","type":"number"}],"description":"Sets the position of the Source. Please note that this only works for mono (i.e. non-stereo) sound files!","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:setPosition","namespace":"love.audio.Source","name":"setPosition"}},"love.physics.Joint.setUserData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joint_setUserData","arguments":[{"name":"value","description":"The Lua value to associate with the Joint.","type":"any"}],"description":"Associates a Lua value with the Joint.\n\nTo delete the reference, explicitly pass nil.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joint:setUserData","namespace":"love.physics.Joint","name":"setUserData"}},"love.graphics.ParticleSystem.getLinearAcceleration":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getLinearAcceleration","description":"Gets the linear acceleration (acceleration along the x and y axes) for particles.\n\nEvery particle created will accelerate along the x and y axes between xmin,ymin and xmax,ymax.","returns":[{"name":"xmin","description":"The minimum acceleration along the x axis.","type":"number"},{"name":"ymin","description":"The minimum acceleration along the y axis.","type":"number"},{"name":"xmax","description":"The maximum acceleration along the x axis.","type":"number"},{"name":"ymax","description":"The maximum acceleration along the y axis.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getLinearAcceleration","namespace":"love.graphics.ParticleSystem","name":"getLinearAcceleration"}},"love.physics.Joint.getUserData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joint_getUserData","description":"Returns the Lua value associated with this Joint.","returns":[{"name":"value","description":"The Lua value associated with the Joint.","type":"any"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joint:getUserData","namespace":"love.physics.Joint","name":"getUserData"}},"love.thread.Thread.start":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Thread_start","description":"Starts the thread.\n\nBeginning with version 0.9.0, threads can be restarted after they have completed their execution.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Thread:start","namespace":"love.thread.Thread","name":"start"}},"love.physics.Joint.getReactionForce":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joint_getReactionForce","arguments":[{"name":"x","description":"How long the force applies. Usually the inverse time step or 1/dt.","type":"number"}],"description":"Returns the reaction force in newtons on the second body","returns":[{"name":"x","description":"The x-component of the force.","type":"number"},{"name":"y","description":"The y-component of the force.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joint:getReactionForce","namespace":"love.physics.Joint","name":"getReactionForce"}},"love.physics.Joint.getBodies":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joint_getBodies","description":"Gets the bodies that the Joint is attached to.","returns":[{"name":"bodyA","description":"The first Body.","type":"Body"},{"name":"bodyB","description":"The second Body.","type":"Body"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joint:getBodies","namespace":"love.physics.Joint","name":"getBodies"}},"love.audio.Source.setAirAbsorption":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_setAirAbsorption","arguments":[{"name":"amount","description":"The amount of air absorption applied to the Source. Must be between 0 and 10.","type":"number"}],"description":"Sets the amount of air absorption applied to the Source.\n\nBy default the value is set to 0 which means that air absorption effects are disabled. A value of 1 will apply high frequency attenuation to the Source at a rate of 0.05 dB per meter.\n\nAir absorption can simulate sound transmission through foggy air, dry air, smoky atmosphere, etc. It can be used to simulate different atmospheric conditions within different locations in an area.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:setAirAbsorption","namespace":"love.audio.Source","name":"setAirAbsorption"}},"love.physics.Joint.destroy":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joint_destroy","description":"Explicitly destroys the Joint. An error will occur if you attempt to use the object after calling this function.\n\nIn 0.7.2, when you don't have time to wait for garbage collection, this function \n\nmay be used to free the object immediately.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joint:destroy","namespace":"love.physics.Joint","name":"destroy"}},"love.physics.GearJoint.getRatio":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#GearJoint_getRatio","description":"Get the ratio of a gear joint.","returns":[{"name":"ratio","description":"The ratio of the joint.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/GearJoint:getRatio","namespace":"love.physics.GearJoint","name":"getRatio"}},"love.audio.Source.getType":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getType","description":"Gets the type of the Source.","returns":[{"name":"sourcetype","description":"The type of the source.","type":"SourceType"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getType","namespace":"love.audio.Source","name":"getType"}},"love.physics.GearJoint.getJoints":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#GearJoint_getJoints","description":"Get the Joints connected by this GearJoint.","returns":[{"name":"joint1","description":"The first connected Joint.","type":"Joint"},{"name":"joint2","description":"The second connected Joint.","type":"Joint"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/GearJoint:getJoints","namespace":"love.physics.GearJoint","name":"getJoints"}},"love.joystick.Joystick.getAxisCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_getAxisCount","description":"Gets the number of axes on the joystick.","returns":[{"name":"axes","description":"The number of axes available.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:getAxisCount","namespace":"love.joystick.Joystick","name":"getAxisCount"}},"love.physics.EdgeShape.setPreviousVertex":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#EdgeShape_setPreviousVertex","arguments":[{"name":"x","description":"The x-component of the vertex.","type":"number"},{"name":"y","description":"The y-component of the vertex.","type":"number"}],"description":"Sets a vertex that establishes a connection to the previous shape.\n\nThis can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/EdgeShape:setPreviousVertex","namespace":"love.physics.EdgeShape","name":"setPreviousVertex"}},"love.physics.Body.setInertia":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setInertia","arguments":[{"name":"inertia","description":"The new moment of inertia, in kilograms * pixel squared.","type":"number"}],"description":"Set the inertia of a body.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setInertia","namespace":"love.physics.Body","name":"setInertia"}},"love.font.Rasterizer.getAscent":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Rasterizer_getAscent","description":"Gets ascent height.","returns":[{"name":"height","description":"Ascent height.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Rasterizer:getAscent","namespace":"love.font.Rasterizer","name":"getAscent"}},"love.filesystem.FileData.getExtension":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#FileData_getExtension","description":"Gets the extension of the FileData.","returns":[{"name":"ext","description":"The extension of the file the FileData represents.","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/FileData:getExtension","namespace":"love.filesystem.FileData","name":"getExtension"}},"love.physics.Fixture.testPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_testPoint","arguments":[{"name":"x","description":"The x position of the point.","type":"number"},{"name":"y","description":"The y position of the point.","type":"number"}],"description":"Checks if a point is inside the shape of the fixture.","returns":[{"name":"isInside","description":"True if the point is inside or false if it is outside.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:testPoint","namespace":"love.physics.Fixture","name":"testPoint"}},"love.physics.Fixture.setRestitution":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_setRestitution","arguments":[{"name":"restitution","description":"The fixture restitution.","type":"number"}],"description":"Sets the restitution of the fixture.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:setRestitution","namespace":"love.physics.Fixture","name":"setRestitution"}},"love.graphics.ParticleSystem.setLinearAcceleration":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setLinearAcceleration","arguments":[{"name":"xmin","description":"The minimum acceleration along the x axis.","type":"number"},{"name":"ymin","description":"The minimum acceleration along the y axis.","type":"number"},{"name":"xmax","default":"xmin","description":"The maximum acceleration along the x axis.","type":"number"},{"name":"ymax","default":"ymin","description":"The maximum acceleration along the y axis.","type":"number"}],"description":"Sets the linear acceleration (acceleration along the x and y axes) for particles.\n\nEvery particle created will accelerate along the x and y axes between xmin,ymin and xmax,ymax.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setLinearAcceleration","namespace":"love.graphics.ParticleSystem","name":"setLinearAcceleration"}},"love.physics.Fixture.setMask":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_setMask","arguments":[{"name":"mask1","description":"The first category.","type":"number"},{"name":"mask2","description":"The second category.","type":"number"}],"description":"Sets the category mask of the fixture. There can be up to 16 categories represented as a number from 1 to 16.\n\nThis fixture will '''NOT''' collide with the fixtures that are in the selected categories if the other fixture also has a category of this fixture selected.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:setMask","namespace":"love.physics.Fixture","name":"setMask"}},"love.physics.Fixture.setGroupIndex":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_setGroupIndex","arguments":[{"name":"group","description":"The group as an integer from -32768 to 32767.","type":"number"}],"description":"Sets the group the fixture belongs to. Fixtures with the same group will always collide if the group is positive or never collide if it's negative. The group zero means no group.\n\nThe groups range from -32768 to 32767.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:setGroupIndex","namespace":"love.physics.Fixture","name":"setGroupIndex"}},"love.physics.Body.setAwake":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setAwake","arguments":[{"name":"awake","description":"The body sleep status.","type":"boolean"}],"description":"Wakes the body up or puts it to sleep.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setAwake","namespace":"love.physics.Body","name":"setAwake"}},"love.graphics.Font.getWrap":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Font_getWrap","arguments":[{"name":"text","description":"The text that will be wrapped.","type":"string"},{"name":"wraplimit","description":"The maximum width in pixels of each line that ''text'' is allowed before wrapping.","type":"number"}],"description":"Gets formatting information for text, given a wrap limit.\n\nThis function accounts for newlines correctly (i.e. '\\n').","returns":[{"name":"width","description":"The maximum width of the wrapped text.","type":"number"},{"name":"wrappedtext","description":"A sequence containing each line of text that was wrapped.","type":"table"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Font:getWrap","namespace":"love.graphics.Font","name":"getWrap"}},"love.audio.Source.getPosition":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getPosition","description":"Gets the position of the Source.","returns":[{"name":"x","description":"The X position of the Source.","type":"number"},{"name":"y","description":"The Y position of the Source.","type":"number"},{"name":"z","description":"The Z position of the Source.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getPosition","namespace":"love.audio.Source","name":"getPosition"}},"love.graphics.ParticleSystem.setRelativeRotation":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setRelativeRotation","arguments":[{"name":"enable","description":"True to enable relative particle rotation, false to disable it.","type":"boolean"}],"description":"Sets whether particle angles and rotations are relative to their velocities. If enabled, particles are aligned to the angle of their velocities and rotate relative to that angle.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setRelativeRotation","namespace":"love.graphics.ParticleSystem","name":"setRelativeRotation"}},"love.physics.Body.setAngle":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setAngle","arguments":[{"name":"angle","description":"The angle in radians.","type":"number"}],"description":"Set the angle of the body.\n\nThe angle is measured in radians. If you need to transform it from degrees, use math.rad.\n\nA value of 0 radians will mean 'looking to the right'. Although radians increase counter-clockwise, the y axis points down so it becomes ''clockwise'' from our point of view.\n\nIt is possible to cause a collision with another body by changing its angle. ","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setAngle","namespace":"love.physics.Body","name":"setAngle"}},"love.audio.Source.getDuration":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getDuration","arguments":[{"name":"unit","default":"'seconds'","description":"The time unit for the return value.","type":"TimeUnit"}],"description":"Gets the duration of the Source. For streaming Sources it may not always be sample-accurate, and may return -1 if the duration cannot be determined at all.","returns":[{"name":"duration","description":"The duration of the Source, or -1 if it cannot be determined.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getDuration","namespace":"love.audio.Source","name":"getDuration"}},"love.physics.Fixture.isDestroyed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_isDestroyed","description":"Gets whether the Fixture is destroyed. Destroyed fixtures cannot be used.","returns":[{"name":"destroyed","description":"Whether the Fixture is destroyed.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:isDestroyed","namespace":"love.physics.Fixture","name":"isDestroyed"}},"love.physics.Fixture.getUserData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_getUserData","description":"Returns the Lua value associated with this fixture.","returns":[{"name":"value","description":"The Lua value associated with the fixture.","type":"any"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:getUserData","namespace":"love.physics.Fixture","name":"getUserData"}},"love.physics.Body.setGravityScale":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setGravityScale","arguments":[{"name":"scale","description":"The new gravity scale factor.","type":"number"}],"description":"Sets a new gravity scale factor for the body.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setGravityScale","namespace":"love.physics.Body","name":"setGravityScale"}},"love.physics.MouseJoint.getTarget":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#MouseJoint_getTarget","description":"Gets the target point.","returns":[{"name":"x","description":"The x-component of the target.","type":"number"},{"name":"y","description":"The x-component of the target.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/MouseJoint:getTarget","namespace":"love.physics.MouseJoint","name":"getTarget"}},"love.physics.Fixture.getMask":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_getMask","description":"Returns which categories this fixture should '''NOT''' collide with.","returns":[{"name":"mask1","description":"The first category selected by the mask.","type":"number"},{"name":"mask2","description":"The second category selected by the mask.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:getMask","namespace":"love.physics.Fixture","name":"getMask"}},"love.physics.Fixture.getGroupIndex":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_getGroupIndex","description":"Returns the group the fixture belongs to. Fixtures with the same group will always collide if the group is positive or never collide if it's negative. The group zero means no group.\n\nThe groups range from -32768 to 32767.","returns":[{"name":"group","description":"The group of the fixture.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:getGroupIndex","namespace":"love.physics.Fixture","name":"getGroupIndex"}},"love.physics.Fixture.getFilterData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_getFilterData","description":"Returns the filter data of the fixture.\n\nCategories and masks are encoded as the bits of a 16-bit integer.","returns":[{"name":"categories","description":"The categories as an integer from 0 to 65535.","type":"number"},{"name":"mask","description":"The mask as an integer from 0 to 65535.","type":"number"},{"name":"group","description":"The group as an integer from -32768 to 32767.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:getFilterData","namespace":"love.physics.Fixture","name":"getFilterData"}},"love.audio.Source.setVolume":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_setVolume","arguments":[{"name":"volume","description":"The volume for a Source, where 1.0 is normal volume. Volume cannot be raised above 1.0.","type":"number"}],"description":"Sets the current volume of the Source.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:setVolume","namespace":"love.audio.Source","name":"setVolume"}},"love.physics.Body.isAwake":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_isAwake","description":"Returns the sleep status of the body.","returns":[{"name":"status","description":"True if the body is awake or false if not.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:isAwake","namespace":"love.physics.Body","name":"isAwake"}},"love.math.BezierCurve.getDerivative":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#BezierCurve_getDerivative","description":"Get the derivative of the Bézier curve.\n\nThis function can be used to rotate sprites moving along a curve in the direction of the movement and compute the direction perpendicular to the curve at some parameter t.","returns":[{"name":"derivative","description":"The derivative curve.","type":"BezierCurve"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/BezierCurve:getDerivative","namespace":"love.math.BezierCurve","name":"getDerivative"}},"love.graphics.Mesh.setDrawMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_setDrawMode","arguments":[{"name":"mode","description":"The mode to use when drawing the Mesh.","type":"MeshDrawMode"}],"description":"Sets the mode used when drawing the Mesh.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:setDrawMode","namespace":"love.graphics.Mesh","name":"setDrawMode"}},"love.graphics.ParticleSystem.getSpeed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getSpeed","description":"Gets the speed of the particles.","returns":[{"name":"min","description":"The minimum linear speed of the particles.","type":"number"},{"name":"max","description":"The maximum linear speed of the particles.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getSpeed","namespace":"love.graphics.ParticleSystem","name":"getSpeed"}},"love.filesystem.File.flush":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#File_flush","description":"Flushes any buffered written data in the file to the disk.","returns":[{"name":"success","description":"Whether the file successfully flushed any buffered data to the disk.","type":"boolean"},{"name":"err","description":"The error string, if an error occurred and the file could not be flushed.","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/File:flush","namespace":"love.filesystem.File","name":"flush"}},"love.physics.Fixture.getBody":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_getBody","description":"Returns the body to which the fixture is attached.","returns":[{"name":"body","description":"The parent body.","type":"Body"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:getBody","namespace":"love.physics.Fixture","name":"getBody"}},"love.physics.WheelJoint.setSpringDampingRatio":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WheelJoint_setSpringDampingRatio","arguments":[{"name":"ratio","description":"The new damping ratio.","type":"number"}],"description":"Sets a new damping ratio.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/WheelJoint:setSpringDampingRatio","namespace":"love.physics.WheelJoint","name":"setSpringDampingRatio"}},"love.math.Transform.isAffine2DTransform":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Transform_isAffine2DTransform","description":"Checks whether the Transform is an affine transformation.","returns":[{"name":"affine","description":"true if the transform object is an affine transformation, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Transform:isAffine2DTransform","namespace":"love.math.Transform","name":"isAffine2DTransform"}},"love.graphics.ParticleSystem.getPosition":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getPosition","description":"Gets the position of the emitter.","returns":[{"name":"x","description":"Position along x-axis.","type":"number"},{"name":"y","description":"Position along y-axis.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getPosition","namespace":"love.graphics.ParticleSystem","name":"getPosition"}},"love.graphics.Texture.getHeight":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_getHeight","description":"Gets the height of the Texture.","returns":[{"name":"height","description":"The height of the Texture.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:getHeight","namespace":"love.graphics.Texture","name":"getHeight"}},"love.graphics.ParticleSystem.getEmitterLifetime":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getEmitterLifetime","description":"Gets how long the particle system will emit particles (if -1 then it emits particles forever).","returns":[{"name":"life","description":"The lifetime of the emitter (in seconds).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getEmitterLifetime","namespace":"love.graphics.ParticleSystem","name":"getEmitterLifetime"}},"love.graphics.Video.play":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Video_play","description":"Starts playing the Video. In order for the video to appear onscreen it must be drawn with love.graphics.draw.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Video:play","namespace":"love.graphics.Video","name":"play"}},"love.physics.DistanceJoint.getFrequency":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#DistanceJoint_getFrequency","description":"Gets the response speed.","returns":[{"name":"Hz","description":"The response speed.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/DistanceJoint:getFrequency","namespace":"love.physics.DistanceJoint","name":"getFrequency"}},"love.joystick.Joystick.getName":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_getName","description":"Gets the name of the joystick.","returns":[{"name":"name","description":"The name of the joystick.","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:getName","namespace":"love.joystick.Joystick","name":"getName"}},"love.physics.Contact.resetRestitution":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Contact_resetRestitution","description":"Resets the contact restitution to the mixture value of both fixtures.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Contact:resetRestitution","namespace":"love.physics.Contact","name":"resetRestitution"}},"love.physics.RopeJoint.getMaxLength":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RopeJoint_getMaxLength","description":"Gets the maximum length of a RopeJoint.","returns":[{"name":"maxLength","description":"The maximum length of the RopeJoint.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RopeJoint:getMaxLength","namespace":"love.physics.RopeJoint","name":"getMaxLength"}},"love.graphics.Video.seek":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Video_seek","arguments":[{"name":"offset","description":"The time in seconds since the beginning of the Video.","type":"number"}],"description":"Sets the current playback position of the Video.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Video:seek","namespace":"love.graphics.Video","name":"seek"}},"love.font.GlyphData.getDimensions":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#GlyphData_getDimensions","description":"Gets glyph dimensions.","returns":[{"name":"width","description":"Glyph width.","type":"number"},{"name":"height","description":"Glyph height.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/GlyphData:getDimensions","namespace":"love.font.GlyphData","name":"getDimensions"}},"love.audio.Source.setRolloff":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_setRolloff","arguments":[{"name":"rolloff","description":"The new rolloff factor.","type":"number"}],"description":"Sets the rolloff factor which affects the strength of the used distance attenuation.\n\nExtended information and detailed formulas can be found in the chapter '3.4. Attenuation By Distance' of OpenAL 1.1 specification.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:setRolloff","namespace":"love.audio.Source","name":"setRolloff"}},"love.physics.Body.getInertia":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getInertia","description":"Gets the rotational inertia of the body.\n\nThe rotational inertia is how hard is it to make the body spin.","returns":[{"name":"inertia","description":"The rotational inertial of the body.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getInertia","namespace":"love.physics.Body","name":"getInertia"}},"love.font.GlyphData.getGlyph":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#GlyphData_getGlyph","description":"Gets glyph number.","returns":[{"name":"glyph","description":"Glyph number.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/GlyphData:getGlyph","namespace":"love.font.GlyphData","name":"getGlyph"}},"love.physics.Contact.getPositions":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Contact_getPositions","description":"Returns the contact points of the two colliding fixtures. There can be one or two points.","returns":[{"name":"x1","description":"The x coordinate of the first contact point.","type":"number"},{"name":"y1","description":"The y coordinate of the first contact point.","type":"number"},{"name":"x2","description":"The x coordinate of the second contact point.","type":"number"},{"name":"y2","description":"The y coordinate of the second contact point.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Contact:getPositions","namespace":"love.physics.Contact","name":"getPositions"}},"love.font.GlyphData.getAdvance":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#GlyphData_getAdvance","description":"Gets glyph advance.","returns":[{"name":"advance","description":"Glyph advance.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/GlyphData:getAdvance","namespace":"love.font.GlyphData","name":"getAdvance"}},"love.physics.CircleShape.setRadius":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#CircleShape_setRadius","arguments":[{"name":"radius","description":"The radius of the circle","type":"number"}],"description":"Sets the radius of the circle.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/CircleShape:setRadius","namespace":"love.physics.CircleShape","name":"setRadius"}},"love.physics.CircleShape.getRadius":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#CircleShape_getRadius","description":"Gets the radius of the circle shape.","returns":[{"name":"radius","description":"The radius of the circle","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/CircleShape:getRadius","namespace":"love.physics.CircleShape","name":"getRadius"}},"love.math.Transform.transformPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Transform_transformPoint","arguments":[{"name":"globalX","description":"The x component of the position in global coordinates.","type":"number"},{"name":"globalY","description":"The y component of the position in global coordinates.","type":"number"}],"description":"Applies the Transform object's transformation to the given 2D position.\n\nThis effectively converts the given position from global coordinates into the local coordinate space of the Transform.","returns":[{"name":"localX","description":"The x component of the position with the transform applied.","type":"number"},{"name":"localY","description":"The y component of the position with the transform applied.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Transform:transformPoint","namespace":"love.math.Transform","name":"transformPoint"}},"love.physics.ChainShape.setPreviousVertex":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ChainShape_setPreviousVertex","arguments":[{"name":"x","description":"The x-component of the vertex.","type":"number"},{"name":"y","description":"The y-component of the vertex.","type":"number"}],"description":"Sets a vertex that establishes a connection to the previous shape.\n\nThis can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ChainShape:setPreviousVertex","namespace":"love.physics.ChainShape","name":"setPreviousVertex"}},"love.physics.ChainShape.setNextVertex":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ChainShape_setNextVertex","arguments":[{"name":"x","description":"The x-component of the vertex.","type":"number"},{"name":"y","description":"The y-component of the vertex.","type":"number"}],"description":"Sets a vertex that establishes a connection to the next shape.\n\nThis can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ChainShape:setNextVertex","namespace":"love.physics.ChainShape","name":"setNextVertex"}},"love.physics.Body.setPosition":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setPosition","arguments":[{"name":"x","description":"The x position.","type":"number"},{"name":"y","description":"The y position.","type":"number"}],"description":"Set the position of the body.\n\nNote that this may not be the center of mass of the body.\n\nThis function cannot wake up the body.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setPosition","namespace":"love.physics.Body","name":"setPosition"}},"love.physics.ChainShape.getVertexCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ChainShape_getVertexCount","description":"Returns the number of vertices the shape has.","returns":[{"name":"count","description":"The number of vertices.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ChainShape:getVertexCount","namespace":"love.physics.ChainShape","name":"getVertexCount"}},"love.graphics.ParticleSystem.getSpread":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getSpread","description":"Gets the amount of directional spread of the particle emitter (in radians).","returns":[{"name":"spread","description":"The spread of the emitter (radians).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getSpread","namespace":"love.graphics.ParticleSystem","name":"getSpread"}},"love.physics.Body.getWorld":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getWorld","description":"Gets the World the body lives in.","returns":[{"name":"world","description":"The world the body lives in.","type":"World"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getWorld","namespace":"love.physics.Body","name":"getWorld"}},"love.thread.Channel.hasRead":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Channel_hasRead","arguments":[{"name":"id","description":"An id value previously returned by Channel:push.","type":"number"}],"description":"Gets whether a pushed value has been popped or otherwise removed from the Channel.","returns":[{"name":"hasread","description":"Whether the value represented by the id has been removed from the Channel via Channel:pop, Channel:demand, or Channel:clear.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Channel:hasRead","namespace":"love.thread.Channel","name":"hasRead"}},"love.image.ImageData.getHeight":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ImageData_getHeight","description":"Gets the height of the ImageData in pixels.","returns":[{"name":"height","description":"The height of the ImageData in pixels.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ImageData:getHeight","namespace":"love.image.ImageData","name":"getHeight"}},"love.math.BezierCurve.translate":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#BezierCurve_translate","arguments":[{"name":"dx","description":"Offset along the x axis.","type":"number"},{"name":"dy","description":"Offset along the y axis.","type":"number"}],"description":"Move the Bézier curve by an offset.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/BezierCurve:translate","namespace":"love.math.BezierCurve","name":"translate"}},"love.physics.Joint.getAnchors":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joint_getAnchors","description":"Get the anchor points of the joint.","returns":[{"name":"x1","description":"The x-component of the anchor on Body 1.","type":"number"},{"name":"y1","description":"The y-component of the anchor on Body 1.","type":"number"},{"name":"x2","description":"The x-component of the anchor on Body 2.","type":"number"},{"name":"y2","description":"The y-component of the anchor on Body 2.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joint:getAnchors","namespace":"love.physics.Joint","name":"getAnchors"}},"love.physics.Body.setUserData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setUserData","arguments":[{"name":"value","description":"The Lua value to associate with the Body.","type":"any"}],"description":"Associates a Lua value with the Body.\n\nTo delete the reference, explicitly pass nil.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setUserData","namespace":"love.physics.Body","name":"setUserData"}},"love.graphics.Texture.getTextureType":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_getTextureType","description":"Gets the type of the Texture.","returns":[{"name":"texturetype","description":"The type of the Texture.","type":"TextureType"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:getTextureType","namespace":"love.graphics.Texture","name":"getTextureType"}},"love.graphics.Mesh.getTexture":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_getTexture","description":"Gets the texture (Image or Canvas) used when drawing the Mesh.","returns":[{"name":"texture","description":"The Image or Canvas to texture the Mesh with when drawing, or nil if none is set.","type":"Texture"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:getTexture","namespace":"love.graphics.Mesh","name":"getTexture"}},"love.thread.Thread.getError":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Thread_getError","description":"Retrieves the error string from the thread if it produced an error.","returns":[{"name":"err","description":"The error message, or nil if the Thread has not caused an error.","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Thread:getError","namespace":"love.thread.Thread","name":"getError"}},"love.joystick.Joystick.getDeviceInfo":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_getDeviceInfo","description":"Gets the USB vendor ID, product ID, and product version numbers of joystick which consistent across operating systems.\n\nCan be used to show different icons, etc. for different gamepads.","returns":[{"name":"vendorID","description":"The USB vendor ID of the joystick.","type":"number"},{"name":"productID","description":"The USB product ID of the joystick.","type":"number"},{"name":"productVersion","description":"The product version of the joystick.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:getDeviceInfo","namespace":"love.joystick.Joystick","name":"getDeviceInfo"}},"love.physics.Body.setMassData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setMassData","arguments":[{"name":"x","description":"The x position of the center of mass.","type":"number"},{"name":"y","description":"The y position of the center of mass.","type":"number"},{"name":"mass","description":"The mass of the body.","type":"number"},{"name":"inertia","description":"The rotational inertia.","type":"number"}],"description":"Overrides the calculated mass data.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setMassData","namespace":"love.physics.Body","name":"setMassData"}},"love.graphics.Font.getDescent":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Font_getDescent","description":"Gets the descent of the Font.\n\nThe descent spans the distance between the baseline and the lowest descending glyph in a typeface.","returns":[{"name":"descent","description":"The descent of the Font in pixels.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Font:getDescent","namespace":"love.graphics.Font","name":"getDescent"}},"love.physics.Body.setMass":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setMass","arguments":[{"name":"mass","description":"The mass, in kilograms.","type":"number"}],"description":"Sets a new body mass.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setMass","namespace":"love.physics.Body","name":"setMass"}},"love.physics.FrictionJoint.setMaxTorque":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#FrictionJoint_setMaxTorque","arguments":[{"name":"torque","description":"Maximum torque in Newton-meters.","type":"number"}],"description":"Sets the maximum friction torque in Newton-meters.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/FrictionJoint:setMaxTorque","namespace":"love.physics.FrictionJoint","name":"setMaxTorque"}},"love.graphics.ParticleSystem.getCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getCount","description":"Gets the number of particles that are currently in the system.","returns":[{"name":"count","description":"The current number of live particles.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getCount","namespace":"love.graphics.ParticleSystem","name":"getCount"}},"love.graphics.Canvas.getMipmapMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Canvas_getMipmapMode","description":"Gets the MipmapMode this Canvas was created with.","returns":[{"name":"mode","description":"The mipmap mode this Canvas was created with.","type":"MipmapMode"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Canvas:getMipmapMode","namespace":"love.graphics.Canvas","name":"getMipmapMode"}},"love.physics.Body.setBullet":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setBullet","arguments":[{"name":"status","description":"The bullet status of the body.","type":"boolean"}],"description":"Set the bullet status of a body.\n\nThere are two methods to check for body collisions:\n\n* at their location when the world is updated (default)\n\n* using continuous collision detection (CCD)\n\nThe default method is efficient, but a body moving very quickly may sometimes jump over another body without producing a collision. A body that is set as a bullet will use CCD. This is less efficient, but is guaranteed not to jump when moving quickly.\n\nNote that static bodies (with zero mass) always use CCD, so your walls will not let a fast moving body pass through even if it is not a bullet.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setBullet","namespace":"love.physics.Body","name":"setBullet"}},"love.physics.Body.setAngularVelocity":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setAngularVelocity","arguments":[{"name":"w","description":"The new angular velocity, in radians per second","type":"number"}],"description":"Sets the angular velocity of a Body.\n\nThe angular velocity is the ''rate of change of angle over time''.\n\nThis function will not accumulate anything; any impulses previously applied since the last call to World:update will be lost. ","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setAngularVelocity","namespace":"love.physics.Body","name":"setAngularVelocity"}},"love.physics.DistanceJoint.getLength":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#DistanceJoint_getLength","description":"Gets the equilibrium distance between the two Bodies.","returns":[{"name":"l","description":"The length between the two Bodies.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/DistanceJoint:getLength","namespace":"love.physics.DistanceJoint","name":"getLength"}},"love.physics.Body.isBullet":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_isBullet","description":"Get the bullet status of a body.\n\nThere are two methods to check for body collisions:\n\n* at their location when the world is updated (default)\n\n* using continuous collision detection (CCD)\n\nThe default method is efficient, but a body moving very quickly may sometimes jump over another body without producing a collision. A body that is set as a bullet will use CCD. This is less efficient, but is guaranteed not to jump when moving quickly.\n\nNote that static bodies (with zero mass) always use CCD, so your walls will not let a fast moving body pass through even if it is not a bullet.","returns":[{"name":"status","description":"The bullet status of the body.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:isBullet","namespace":"love.physics.Body","name":"isBullet"}},"love.physics.WeldJoint.getDampingRatio":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WeldJoint_getDampingRatio","description":"Returns the damping ratio of the joint.","returns":[{"name":"ratio","description":"The damping ratio.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/WeldJoint:getDampingRatio","namespace":"love.physics.WeldJoint","name":"getDampingRatio"}},"love.font.GlyphData.getBearing":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#GlyphData_getBearing","description":"Gets glyph bearing.","returns":[{"name":"bx","description":"Glyph bearing X.","type":"number"},{"name":"by","description":"Glyph bearing Y.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/GlyphData:getBearing","namespace":"love.font.GlyphData","name":"getBearing"}},"love.physics.Body.getWorldVector":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getWorldVector","arguments":[{"name":"localX","description":"The vector x component in local coordinates.","type":"number"},{"name":"localY","description":"The vector y component in local coordinates.","type":"number"}],"description":"Transform a vector from local coordinates to world coordinates.","returns":[{"name":"worldX","description":"The vector x component in world coordinates.","type":"number"},{"name":"worldY","description":"The vector y component in world coordinates.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getWorldVector","namespace":"love.physics.Body","name":"getWorldVector"}},"love.physics.Body.getWorldPoints":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getWorldPoints","arguments":[{"name":"x1","description":"The x position of the first point.","type":"number"},{"name":"y1","description":"The y position of the first point.","type":"number"},{"name":"x2","description":"The x position of the second point.","type":"number"},{"name":"y2","description":"The y position of the second point.","type":"number"}],"description":"Transforms multiple points from local coordinates to world coordinates.","returns":[{"name":"x1","description":"The transformed x position of the first point.","type":"number"},{"name":"y1","description":"The transformed y position of the first point.","type":"number"},{"name":"x2","description":"The transformed x position of the second point.","type":"number"},{"name":"y2","description":"The transformed y position of the second point.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getWorldPoints","namespace":"love.physics.Body","name":"getWorldPoints"}},"love.physics.Body.getWorldPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getWorldPoint","arguments":[{"name":"localX","description":"The x position in local coordinates.","type":"number"},{"name":"localY","description":"The y position in local coordinates.","type":"number"}],"description":"Transform a point from local coordinates to world coordinates.","returns":[{"name":"worldX","description":"The x position in world coordinates.","type":"number"},{"name":"worldY","description":"The y position in world coordinates.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getWorldPoint","namespace":"love.physics.Body","name":"getWorldPoint"}},"love.physics.Body.getLinearDamping":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getLinearDamping","description":"Gets the linear damping of the Body.\n\nThe linear damping is the ''rate of decrease of the linear velocity over time''. A moving body with no damping and no external forces will continue moving indefinitely, as is the case in space. A moving body with damping will gradually stop moving.\n\nDamping is not the same as friction - they can be modelled together.","returns":[{"name":"damping","description":"The value of the linear damping.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getLinearDamping","namespace":"love.physics.Body","name":"getLinearDamping"}},"love.physics.Body.getUserData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getUserData","description":"Returns the Lua value associated with this Body.","returns":[{"name":"value","description":"The Lua value associated with the Body.","type":"any"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getUserData","namespace":"love.physics.Body","name":"getUserData"}},"love.physics.Body.getTransform":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getTransform","description":"Get the position and angle of the body.\n\nNote that the position may not be the center of mass of the body. An angle of 0 radians will mean 'looking to the right'. Although radians increase counter-clockwise, the y axis points down so it becomes clockwise from our point of view.","returns":[{"name":"x","description":"The x component of the position.","type":"number"},{"name":"y","description":"The y component of the position.","type":"number"},{"name":"angle","description":"The angle in radians.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getTransform","namespace":"love.physics.Body","name":"getTransform"}},"love.physics.Body.getMassData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getMassData","description":"Returns the mass, its center, and the rotational inertia.","returns":[{"name":"x","description":"The x position of the center of mass.","type":"number"},{"name":"y","description":"The y position of the center of mass.","type":"number"},{"name":"mass","description":"The mass of the body.","type":"number"},{"name":"inertia","description":"The rotational inertia.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getMassData","namespace":"love.physics.Body","name":"getMassData"}},"love.audio.RecordingDevice.start":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RecordingDevice_start","arguments":[{"name":"samplecount","description":"The maximum number of samples to store in an internal ring buffer when recording. RecordingDevice:getData clears the internal buffer when called.","type":"number"},{"name":"samplerate","default":"8000","description":"The number of samples per second to store when recording.","type":"number"},{"name":"bitdepth","default":"16","description":"The number of bits per sample.","type":"number"},{"name":"channels","default":"1","description":"Whether to record in mono or stereo. Most microphones don't support more than 1 channel.","type":"number"}],"description":"Begins recording audio using this device.","returns":[{"name":"success","description":"True if the device successfully began recording using the specified parameters, false if not.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RecordingDevice:start","namespace":"love.audio.RecordingDevice","name":"start"}},"love.physics.Body.getMass":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getMass","description":"Get the mass of the body.\n\nStatic bodies always have a mass of 0.","returns":[{"name":"mass","description":"The mass of the body (in kilograms).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getMass","namespace":"love.physics.Body","name":"getMass"}},"love.physics.Body.getLocalVector":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getLocalVector","arguments":[{"name":"worldX","description":"The vector x component in world coordinates.","type":"number"},{"name":"worldY","description":"The vector y component in world coordinates.","type":"number"}],"description":"Transform a vector from world coordinates to local coordinates.","returns":[{"name":"localX","description":"The vector x component in local coordinates.","type":"number"},{"name":"localY","description":"The vector y component in local coordinates.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getLocalVector","namespace":"love.physics.Body","name":"getLocalVector"}},"love.graphics.ParticleSystem.setSizes":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setSizes","arguments":[{"name":"size1","description":"The first size.","type":"number"},{"name":"size2","description":"The second size.","type":"number"},{"name":"size8","description":"The eighth size.","type":"number"}],"description":"Sets a series of sizes by which to scale a particle sprite. 1.0 is normal size. The particle system will interpolate between each size evenly over the particle's lifetime.\n\nAt least one size must be specified. A maximum of eight may be used.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setSizes","namespace":"love.graphics.ParticleSystem","name":"setSizes"}},"love.physics.Body.getLinearVelocityFromLocalPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getLinearVelocityFromLocalPoint","arguments":[{"name":"x","description":"The x position to measure velocity.","type":"number"},{"name":"y","description":"The y position to measure velocity.","type":"number"}],"description":"Get the linear velocity of a point on the body.\n\nThe linear velocity for a point on the body is the velocity of the body center of mass plus the velocity at that point from the body spinning.\n\nThe point on the body must given in local coordinates. Use Body:getLinearVelocityFromWorldPoint to specify this with world coordinates.","returns":[{"name":"vx","description":"The x component of velocity at point (x,y).","type":"number"},{"name":"vy","description":"The y component of velocity at point (x,y).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getLinearVelocityFromLocalPoint","namespace":"love.physics.Body","name":"getLinearVelocityFromLocalPoint"}},"love.audio.Source.getFreeBufferCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getFreeBufferCount","description":"Gets the number of free buffer slots in a queueable Source. If the queueable Source is playing, this value will increase up to the amount the Source was created with. If the queueable Source is stopped, it will process all of its internal buffers first, in which case this function will always return the amount it was created with.","returns":[{"name":"buffers","description":"How many more SoundData objects can be queued up.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getFreeBufferCount","namespace":"love.audio.Source","name":"getFreeBufferCount"}},"love.graphics.ParticleSystem.getLinearDamping":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getLinearDamping","description":"Gets the amount of linear damping (constant deceleration) for particles.","returns":[{"name":"min","description":"The minimum amount of linear damping applied to particles.","type":"number"},{"name":"max","description":"The maximum amount of linear damping applied to particles.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getLinearDamping","namespace":"love.graphics.ParticleSystem","name":"getLinearDamping"}},"love.physics.Body.getGravityScale":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getGravityScale","description":"Returns the gravity scale factor.","returns":[{"name":"scale","description":"The gravity scale factor.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getGravityScale","namespace":"love.physics.Body","name":"getGravityScale"}},"love.math.Transform.translate":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Transform_translate","arguments":[{"name":"dx","description":"The relative translation along the x-axis.","type":"number"},{"name":"dy","description":"The relative translation along the y-axis.","type":"number"}],"description":"Applies a translation to the Transform's coordinate system. This method does not reset any previously applied transformations.","returns":[{"name":"transform","description":"The Transform object the method was called on. Allows easily chaining Transform methods.","type":"Transform"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Transform:translate","namespace":"love.math.Transform","name":"translate"}},"love.data.CompressedData.getFormat":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#CompressedData_getFormat","description":"Gets the compression format of the CompressedData.","returns":[{"name":"format","description":"The format of the CompressedData.","type":"CompressedDataFormat"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/CompressedData:getFormat","namespace":"love.data.CompressedData","name":"getFormat"}},"love.audio.Source.pause":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_pause","description":"Pauses the Source.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:pause","namespace":"love.audio.Source","name":"pause"}},"love.physics.Fixture.rayCast":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_rayCast","arguments":[{"name":"x1","description":"The x position of the input line starting point.","type":"number"},{"name":"y1","description":"The y position of the input line starting point.","type":"number"},{"name":"x2","description":"The x position of the input line end point.","type":"number"},{"name":"y2","description":"The y position of the input line end point.","type":"number"},{"name":"maxFraction","description":"Ray length parameter.","type":"number"},{"name":"childIndex","default":"1","description":"The index of the child the ray gets cast against.","type":"number"}],"description":"Casts a ray against the shape of the fixture and returns the surface normal vector and the line position where the ray hit. If the ray missed the shape, nil will be returned.\n\nThe ray starts on the first point of the input line and goes towards the second point of the line. The fifth argument is the maximum distance the ray is going to travel as a scale factor of the input line length.\n\nThe childIndex parameter is used to specify which child of a parent shape, such as a ChainShape, will be ray casted. For ChainShapes, the index of 1 is the first edge on the chain. Ray casting a parent shape will only test the child specified so if you want to test every shape of the parent, you must loop through all of its children.\n\nThe world position of the impact can be calculated by multiplying the line vector with the third return value and adding it to the line starting point.\n\nhitx, hity = x1 + (x2 - x1) * fraction, y1 + (y2 - y1) * fraction","returns":[{"name":"xn","description":"The x component of the normal vector of the edge where the ray hit the shape.","type":"number"},{"name":"yn","description":"The y component of the normal vector of the edge where the ray hit the shape.","type":"number"},{"name":"fraction","description":"The position on the input line where the intersection happened as a factor of the line length.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:rayCast","namespace":"love.physics.Fixture","name":"rayCast"}},"love.physics.Body.getAngularVelocity":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getAngularVelocity","description":"Get the angular velocity of the Body.\n\nThe angular velocity is the ''rate of change of angle over time''.\n\nIt is changed in World:update by applying torques, off centre forces/impulses, and angular damping. It can be set directly with Body:setAngularVelocity.\n\nIf you need the ''rate of change of position over time'', use Body:getLinearVelocity.","returns":[{"name":"w","description":"The angular velocity in radians/second.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getAngularVelocity","namespace":"love.physics.Body","name":"getAngularVelocity"}},"love.physics.WheelJoint.setSpringFrequency":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WheelJoint_setSpringFrequency","arguments":[{"name":"freq","description":"The new frequency in hertz.","type":"number"}],"description":"Sets a new spring frequency.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/WheelJoint:setSpringFrequency","namespace":"love.physics.WheelJoint","name":"setSpringFrequency"}},"love.physics.Body.getAngle":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getAngle","description":"Get the angle of the body.\n\nThe angle is measured in radians. If you need to transform it to degrees, use math.deg.\n\nA value of 0 radians will mean 'looking to the right'. Although radians increase counter-clockwise, the y axis points down so it becomes ''clockwise'' from our point of view.","returns":[{"name":"angle","description":"The angle in radians.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getAngle","namespace":"love.physics.Body","name":"getAngle"}},"love.physics.Body.applyTorque":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_applyTorque","arguments":[{"name":"torque","description":"The torque to apply.","type":"number"}],"description":"Apply torque to a body.\n\nTorque is like a force that will change the angular velocity (spin) of a body. The effect will depend on the rotational inertia a body has.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:applyTorque","namespace":"love.physics.Body","name":"applyTorque"}},"love.physics.Body.applyForce":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_applyForce","arguments":[{"name":"fx","description":"The x component of force to apply to the center of mass.","type":"number"},{"name":"fy","description":"The y component of force to apply to the center of mass.","type":"number"}],"description":"Apply force to a Body.\n\nA force pushes a body in a direction. A body with with a larger mass will react less. The reaction also depends on how long a force is applied: since the force acts continuously over the entire timestep, a short timestep will only push the body for a short time. Thus forces are best used for many timesteps to give a continuous push to a body (like gravity). For a single push that is independent of timestep, it is better to use Body:applyLinearImpulse.\n\nIf the position to apply the force is not given, it will act on the center of mass of the body. The part of the force not directed towards the center of mass will cause the body to spin (and depends on the rotational inertia).\n\nNote that the force components and position must be given in world coordinates.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:applyForce","namespace":"love.physics.Body","name":"applyForce"}},"love.physics.Body.applyAngularImpulse":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_applyAngularImpulse","arguments":[{"name":"impulse","description":"The impulse in kilogram-square meter per second.","type":"number"}],"description":"Applies an angular impulse to a body. This makes a single, instantaneous addition to the body momentum.\n\nA body with with a larger mass will react less. The reaction does '''not''' depend on the timestep, and is equivalent to applying a force continuously for 1 second. Impulses are best used to give a single push to a body. For a continuous push to a body it is better to use Body:applyForce.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:applyAngularImpulse","namespace":"love.physics.Body","name":"applyAngularImpulse"}},"love.graphics.ParticleSystem.getSizes":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getSizes","description":"Gets the series of sizes by which the sprite is scaled. 1.0 is normal size. The particle system will interpolate between each size evenly over the particle's lifetime.","returns":[{"name":"size1","description":"The first size.","type":"number"},{"name":"size2","description":"The second size.","type":"number"},{"name":"size8","description":"The eighth size.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getSizes","namespace":"love.graphics.ParticleSystem","name":"getSizes"}},"love.graphics.Text.setFont":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Text_setFont","arguments":[{"name":"font","description":"The new font to use with this Text object.","type":"Font"}],"description":"Replaces the Font used with the text.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Text:setFont","namespace":"love.graphics.Text","name":"setFont"}},"love.math.BezierCurve.getSegment":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#BezierCurve_getSegment","arguments":[{"name":"startpoint","description":"The starting point along the curve. Must be between 0 and 1.","type":"number"},{"name":"endpoint","description":"The end of the segment. Must be between 0 and 1.","type":"number"}],"description":"Gets a BezierCurve that corresponds to the specified segment of this BezierCurve.","returns":[{"name":"curve","description":"A BezierCurve that corresponds to the specified segment.","type":"BezierCurve"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/BezierCurve:getSegment","namespace":"love.math.BezierCurve","name":"getSegment"}},"love.physics.Body.isTouching":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_isTouching","arguments":[{"name":"otherbody","description":"The other body to check.","type":"Body"}],"description":"Gets whether the Body is touching the given other Body.","returns":[{"name":"touching","description":"True if this body is touching the other body, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:isTouching","namespace":"love.physics.Body","name":"isTouching"}},"love.graphics.Image.isCompressed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Image_isCompressed","description":"Gets whether the Image was created from CompressedData.\n\nCompressed images take up less space in VRAM, and drawing a compressed image will generally be more efficient than drawing one created from raw pixel data.","returns":[{"name":"compressed","description":"Whether the Image is stored as a compressed texture on the GPU.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Image:isCompressed","namespace":"love.graphics.Image","name":"isCompressed"}},"love.graphics.Shader.sendColor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Shader_sendColor","arguments":[{"name":"name","description":"The name of the color extern variable to send to in the shader.","type":"string"},{"name":"color","description":"A table with red, green, blue, and optional alpha color components in the range of 1 to send to the extern as a vector.","type":"table"},{"name":"...","description":"Additional colors to send in case the extern is an array. All colors need to be of the same size (e.g. only vec3's).","type":"table"}],"description":"Sends one or more colors to a special (''extern'' / ''uniform'') vec3 or vec4 variable inside the shader. The color components must be in the range of 1. The colors are gamma-corrected if global gamma-correction is enabled.\n\nExtern variables must be marked using the ''extern'' keyword, e.g.\n\nextern vec4 Color;\n\nThe corresponding sendColor call would be\n\nshader:sendColor('Color', {r, g, b, a})\n\nExtern variables can be accessed in both the Vertex and Pixel stages of a shader, as long as the variable is declared in each.\n\nIn versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Shader:sendColor","namespace":"love.graphics.Shader","name":"sendColor"}},"love.graphics.ParticleSystem.emit":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_emit","arguments":[{"name":"numparticles","description":"The amount of particles to emit. The number of emitted particles will be truncated if the particle system's max buffer size is reached.","type":"number"}],"description":"Emits a burst of particles from the particle emitter.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:emit","namespace":"love.graphics.ParticleSystem","name":"emit"}},"love.audio.Source.getCone":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getCone","description":"Gets the Source's directional volume cones. Together with Source:setDirection, the cone angles allow for the Source's volume to vary depending on its direction.","returns":[{"name":"innerAngle","description":"The inner angle from the Source's direction, in radians. The Source will play at normal volume if the listener is inside the cone defined by this angle.","type":"number"},{"name":"outerAngle","description":"The outer angle from the Source's direction, in radians. The Source will play at a volume between the normal and outer volumes, if the listener is in between the cones defined by the inner and outer angles.","type":"number"},{"name":"outerVolume","description":"The Source's volume when the listener is outside both the inner and outer cone angles.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getCone","namespace":"love.audio.Source","name":"getCone"}},"love.filesystem.File.getBuffer":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#File_getBuffer","description":"Gets the buffer mode of a file.","returns":[{"name":"mode","description":"The current buffer mode of the file.","type":"BufferMode"},{"name":"size","description":"The maximum size in bytes of the file's buffer.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/File:getBuffer","namespace":"love.filesystem.File","name":"getBuffer"}},"love.math.RandomGenerator.random":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RandomGenerator_random","description":"Generates a pseudo-random number in a platform independent manner.","returns":[{"name":"number","description":"The pseudo-random number.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RandomGenerator:random","namespace":"love.math.RandomGenerator","name":"random"}},"love.graphics.Text.clear":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Text_clear","description":"Clears the contents of the Text object.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Text:clear","namespace":"love.graphics.Text","name":"clear"}},"love.audio.Source.getVolume":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getVolume","description":"Gets the current volume of the Source.","returns":[{"name":"volume","description":"The volume of the Source, where 1.0 is normal volume.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getVolume","namespace":"love.audio.Source","name":"getVolume"}},"love.graphics.SpriteBatch.getTexture":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SpriteBatch_getTexture","description":"Gets the texture (Image or Canvas) used by the SpriteBatch.","returns":[{"name":"texture","description":"The Image or Canvas used by the SpriteBatch.","type":"Texture"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/SpriteBatch:getTexture","namespace":"love.graphics.SpriteBatch","name":"getTexture"}},"love.audio.Source.isPlaying":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_isPlaying","description":"Returns whether the Source is playing.","returns":[{"name":"playing","description":"True if the Source is playing, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:isPlaying","namespace":"love.audio.Source","name":"isPlaying"}},"love.physics.World.rayCast":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_rayCast","arguments":[{"name":"fixture","description":"The fixture intersecting the ray.","type":"Fixture"},{"name":"x","description":"The x position of the intersection point.","type":"number"},{"name":"y","description":"The y position of the intersection point.","type":"number"},{"name":"xn","description":"The x value of the surface normal vector of the shape edge.","type":"number"},{"name":"yn","description":"The y value of the surface normal vector of the shape edge.","type":"number"},{"name":"fraction","description":"The position of the intersection on the ray as a number from 0 to 1 (or even higher if the ray length was changed with the return value).","type":"number"}],"description":"Casts a ray and calls a function for each fixtures it intersects. ","returns":[{"name":"control","description":"The ray can be controlled with the return value. A positive value sets a new ray length where 1 is the default value. A value of 0 terminates the ray. If the callback function returns -1, the intersection gets ignored as if it didn't happen.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:rayCast","namespace":"love.physics.World","name":"rayCast"}},"love.graphics.Shader.hasUniform":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Shader_hasUniform","arguments":[{"name":"name","description":"The name of the uniform variable.","type":"string"}],"description":"Gets whether a uniform / extern variable exists in the Shader.\n\nIf a graphics driver's shader compiler determines that a uniform / extern variable doesn't affect the final output of the shader, it may optimize the variable out. This function will return false in that case.","returns":[{"name":"hasuniform","description":"Whether the uniform exists in the shader and affects its final output.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Shader:hasUniform","namespace":"love.graphics.Shader","name":"hasUniform"}},"love.physics.Body.getFixtures":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getFixtures","description":"Returns a table with all fixtures.","returns":[{"name":"fixtures","description":"A sequence with all fixtures.","type":"table"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getFixtures","namespace":"love.physics.Body","name":"getFixtures"}},"love.graphics.Video.setFilter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Video_setFilter","arguments":[{"name":"min","description":"The filter mode used when scaling the Video down.","type":"FilterMode"},{"name":"mag","description":"The filter mode used when scaling the Video up.","type":"FilterMode"},{"name":"anisotropy","default":"1","description":"Maximum amount of anisotropic filtering used.","type":"number"}],"description":"Sets the scaling filters used when drawing the Video.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Video:setFilter","namespace":"love.graphics.Video","name":"setFilter"}},"love.graphics.Texture.getWrap":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_getWrap","description":"Gets the wrapping properties of a Texture.\n\nThis function returns the currently set horizontal and vertical wrapping modes for the texture.","returns":[{"name":"horiz","description":"Horizontal wrapping mode of the texture.","type":"WrapMode"},{"name":"vert","description":"Vertical wrapping mode of the texture.","type":"WrapMode"},{"name":"depth","description":"Wrapping mode for the z-axis of a Volume texture.","type":"WrapMode"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:getWrap","namespace":"love.graphics.Texture","name":"getWrap"}},"love.math.Transform.shear":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Transform_shear","arguments":[{"name":"kx","description":"The shear factor along the x-axis.","type":"number"},{"name":"ky","description":"The shear factor along the y-axis.","type":"number"}],"description":"Applies a shear factor (skew) to the Transform's coordinate system. This method does not reset any previously applied transformations.","returns":[{"name":"transform","description":"The Transform object the method was called on. Allows easily chaining Transform methods.","type":"Transform"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Transform:shear","namespace":"love.math.Transform","name":"shear"}},"love.filesystem.File.getSize":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#File_getSize","description":"Returns the file size.","returns":[{"name":"size","description":"The file size in bytes.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/File:getSize","namespace":"love.filesystem.File","name":"getSize"}},"love.graphics.Video.getStream":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Video_getStream","description":"Gets the VideoStream object used for decoding and controlling the video.","returns":[{"name":"stream","description":"The VideoStream used for decoding and controlling the video.","type":"VideoStream"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Video:getStream","namespace":"love.graphics.Video","name":"getStream"}},"love.image.ImageData.getPixel":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ImageData_getPixel","arguments":[{"name":"x","description":"The position of the pixel on the x-axis.","type":"number"},{"name":"y","description":"The position of the pixel on the y-axis.","type":"number"}],"description":"Gets the color of a pixel at a specific position in the image.\n\nValid x and y values start at 0 and go up to image width and height minus 1. Non-integer values are floored.\n\nIn versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1.","returns":[{"name":"r","description":"The red component (0-1).","type":"number"},{"name":"g","description":"The green component (0-1).","type":"number"},{"name":"b","description":"The blue component (0-1).","type":"number"},{"name":"a","description":"The alpha component (0-1).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ImageData:getPixel","namespace":"love.image.ImageData","name":"getPixel"}},"love.physics.RevoluteJoint.getMotorTorque":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_getMotorTorque","description":"Get the current motor force.","returns":[{"name":"f","description":"The current motor force, in Nm.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:getMotorTorque","namespace":"love.physics.RevoluteJoint","name":"getMotorTorque"}},"love.math.Transform.setMatrix":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Transform_setMatrix","arguments":[{"name":"e1_1","description":"The first column of the first row of the matrix.","type":"number"},{"name":"e1_2","description":"The second column of the first row of the matrix.","type":"number"},{"name":"...","description":"Additional matrix elements.","type":"number"},{"name":"e4_4","description":"The fourth column of the fourth row of the matrix.","type":"number"}],"description":"Directly sets the Transform's internal 4x4 transformation matrix.","returns":[{"name":"transform","description":"The Transform object the method was called on. Allows easily chaining Transform methods.","type":"Transform"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Transform:setMatrix","namespace":"love.math.Transform","name":"setMatrix"}},"love.graphics.ParticleSystem.setTangentialAcceleration":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setTangentialAcceleration","arguments":[{"name":"min","description":"The minimum acceleration.","type":"number"},{"name":"max","default":"min","description":"The maximum acceleration.","type":"number"}],"description":"Sets the tangential acceleration (acceleration perpendicular to the particle's direction).","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setTangentialAcceleration","namespace":"love.graphics.ParticleSystem","name":"setTangentialAcceleration"}},"love.graphics.Texture.getMipmapFilter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_getMipmapFilter","description":"Gets the mipmap filter mode for a Texture. Prior to 11.0 this method only worked on Images.","returns":[{"name":"mode","description":"The filter mode used in between mipmap levels. nil if mipmap filtering is not enabled.","type":"FilterMode"},{"name":"sharpness","description":"Value used to determine whether the image should use more or less detailed mipmap levels than normal when drawing.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:getMipmapFilter","namespace":"love.graphics.Texture","name":"getMipmapFilter"}},"love.filesystem.File.tell":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#File_tell","description":"Returns the position in the file.","returns":[{"name":"pos","description":"The current position.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/File:tell","namespace":"love.filesystem.File","name":"tell"}},"love.graphics.Font.getAscent":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Font_getAscent","description":"Gets the ascent of the Font.\n\nThe ascent spans the distance between the baseline and the top of the glyph that reaches farthest from the baseline.","returns":[{"name":"ascent","description":"The ascent of the Font in pixels.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Font:getAscent","namespace":"love.graphics.Font","name":"getAscent"}},"love.graphics.ParticleSystem.setSpinVariation":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setSpinVariation","arguments":[{"name":"variation","description":"The amount of variation (0 meaning no variation and 1 meaning full variation between start and end).","type":"number"}],"description":"Sets the amount of spin variation (0 meaning no variation and 1 meaning full variation between start and end).","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setSpinVariation","namespace":"love.graphics.ParticleSystem","name":"setSpinVariation"}},"love.graphics.ParticleSystem.stop":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_stop","description":"Stops the particle emitter, resetting the lifetime counter.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:stop","namespace":"love.graphics.ParticleSystem","name":"stop"}},"love.physics.WeldJoint.getFrequency":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#WeldJoint_getFrequency","description":"Returns the frequency.","returns":[{"name":"freq","description":"The frequency in hertz.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/WeldJoint:getFrequency","namespace":"love.physics.WeldJoint","name":"getFrequency"}},"love.graphics.Texture.setFilter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_setFilter","arguments":[{"name":"min","description":"Filter mode to use when minifying the texture (rendering it at a smaller size on-screen than its size in pixels).","type":"FilterMode"},{"name":"mag","description":"Filter mode to use when magnifying the texture (rendering it at a larger size on-screen than its size in pixels).","type":"FilterMode"},{"name":"anisotropy","default":"1","description":"Maximum amount of anisotropic filtering to use.","type":"number"}],"description":"Sets the filter mode of the Texture.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:setFilter","namespace":"love.graphics.Texture","name":"setFilter"}},"love.math.RandomGenerator.setState":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RandomGenerator_setState","arguments":[{"name":"state","description":"The new state of the RandomGenerator object, represented as a string. This should originate from a previous call to RandomGenerator:getState.","type":"string"}],"description":"Sets the current state of the random number generator. The value used as an argument for this function is an opaque string and should only originate from a previous call to RandomGenerator:getState in the same major version of LÖVE.\n\nThis is different from RandomGenerator:setSeed in that setState directly sets the RandomGenerator's current implementation-dependent state, whereas setSeed gives it a new seed value.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/RandomGenerator:setState","namespace":"love.math.RandomGenerator","name":"setState"}},"love.joystick.Joystick.getVibration":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_getVibration","description":"Gets the current vibration motor strengths on a Joystick with rumble support.","returns":[{"name":"left","description":"Current strength of the left vibration motor on the Joystick.","type":"number"},{"name":"right","description":"Current strength of the right vibration motor on the Joystick.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:getVibration","namespace":"love.joystick.Joystick","name":"getVibration"}},"love.math.RandomGenerator.setSeed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RandomGenerator_setSeed","arguments":[{"name":"seed","description":"The integer number with which you want to seed the randomization. Must be within the range of 2^53.","type":"number"}],"description":"Sets the seed of the random number generator using the specified integer number.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/RandomGenerator:setSeed","namespace":"love.math.RandomGenerator","name":"setSeed"}},"love.graphics.ParticleSystem.setRadialAcceleration":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setRadialAcceleration","arguments":[{"name":"min","description":"The minimum acceleration.","type":"number"},{"name":"max","default":"min","description":"The maximum acceleration.","type":"number"}],"description":"Set the radial acceleration (away from the emitter).","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setRadialAcceleration","namespace":"love.graphics.ParticleSystem","name":"setRadialAcceleration"}},"love.graphics.ParticleSystem.getBufferSize":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getBufferSize","description":"Gets the maximum number of particles the ParticleSystem can have at once.","returns":[{"name":"size","description":"The maximum number of particles.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getBufferSize","namespace":"love.graphics.ParticleSystem","name":"getBufferSize"}},"love.math.RandomGenerator.getState":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RandomGenerator_getState","description":"Gets the current state of the random number generator. This returns an opaque string which is only useful for later use with RandomGenerator:setState in the same major version of LÖVE.\n\nThis is different from RandomGenerator:getSeed in that getState gets the RandomGenerator's current state, whereas getSeed gets the previously set seed number.","returns":[{"name":"state","description":"The current state of the RandomGenerator object, represented as a string.","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RandomGenerator:getState","namespace":"love.math.RandomGenerator","name":"getState"}},"love.math.RandomGenerator.getSeed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RandomGenerator_getSeed","description":"Gets the seed of the random number generator object.\n\nThe seed is split into two numbers due to Lua's use of doubles for all number values - doubles can't accurately represent integer values above 2^53, but the seed value is an integer number in the range of 2^64 - 1.","returns":[{"name":"low","description":"Integer number representing the lower 32 bits of the RandomGenerator's 64 bit seed value.","type":"number"},{"name":"high","description":"Integer number representing the higher 32 bits of the RandomGenerator's 64 bit seed value.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RandomGenerator:getSeed","namespace":"love.math.RandomGenerator","name":"getSeed"}},"love.graphics.ParticleSystem.getParticleLifetime":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getParticleLifetime","description":"Gets the lifetime of the particles.","returns":[{"name":"min","description":"The minimum life of the particles (in seconds).","type":"number"},{"name":"max","description":"The maximum life of the particles (in seconds).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getParticleLifetime","namespace":"love.graphics.ParticleSystem","name":"getParticleLifetime"}},"love.math.BezierCurve.renderSegment":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#BezierCurve_renderSegment","arguments":[{"name":"startpoint","description":"The starting point along the curve. Must be between 0 and 1.","type":"number"},{"name":"endpoint","description":"The end of the segment to render. Must be between 0 and 1.","type":"number"},{"name":"depth","default":"5","description":"Number of recursive subdivision steps.","type":"number"}],"description":"Get a list of coordinates on a specific part of the curve, to be used with love.graphics.line.\n\nThis function samples the Bézier curve using recursive subdivision. You can control the recursion depth using the depth parameter.\n\nIf you are just need to know the position on the curve given a parameter, use BezierCurve:evaluate.","returns":[{"name":"coordinates","description":"List of x,y-coordinate pairs of points on the specified part of the curve.","type":"table"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/BezierCurve:renderSegment","namespace":"love.math.BezierCurve","name":"renderSegment"}},"love.math.BezierCurve.removeControlPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#BezierCurve_removeControlPoint","arguments":[{"name":"index","description":"The index of the control point to remove.","type":"number"}],"description":"Removes the specified control point.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/BezierCurve:removeControlPoint","namespace":"love.math.BezierCurve","name":"removeControlPoint"}},"love.physics.PulleyJoint.getGroundAnchors":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PulleyJoint_getGroundAnchors","description":"Get the ground anchor positions in world coordinates.","returns":[{"name":"a1x","description":"The x coordinate of the first anchor.","type":"number"},{"name":"a1y","description":"The y coordinate of the first anchor.","type":"number"},{"name":"a2x","description":"The x coordinate of the second anchor.","type":"number"},{"name":"a2y","description":"The y coordinate of the second anchor.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PulleyJoint:getGroundAnchors","namespace":"love.physics.PulleyJoint","name":"getGroundAnchors"}},"love.graphics.Mesh.setVertexMap":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_setVertexMap","arguments":[{"name":"map","description":"A table containing a list of vertex indices to use when drawing. Values must be in the range of Mesh:getVertexCount().","type":"table"}],"description":"Sets the vertex map for the Mesh. The vertex map describes the order in which the vertices are used when the Mesh is drawn. The vertices, vertex map, and mesh draw mode work together to determine what exactly is displayed on the screen.\n\nThe vertex map allows you to re-order or reuse vertices when drawing without changing the actual vertex parameters or duplicating vertices. It is especially useful when combined with different Mesh Draw Modes.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:setVertexMap","namespace":"love.graphics.Mesh","name":"setVertexMap"}},"love.physics.RevoluteJoint.getMaxMotorTorque":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_getMaxMotorTorque","description":"Gets the maximum motor force.","returns":[{"name":"f","description":"The maximum motor force, in Nm.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:getMaxMotorTorque","namespace":"love.physics.RevoluteJoint","name":"getMaxMotorTorque"}},"love.graphics.SpriteBatch.flush":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SpriteBatch_flush","description":"Immediately sends all new and modified sprite data in the batch to the graphics card.\n\nNormally it isn't necessary to call this method as love.graphics.draw(spritebatch, ...) will do it automatically if needed, but explicitly using SpriteBatch:flush gives more control over when the work happens.\n\nIf this method is used, it generally shouldn't be called more than once (at most) between love.graphics.draw(spritebatch, ...) calls.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/SpriteBatch:flush","namespace":"love.graphics.SpriteBatch","name":"flush"}},"love.physics.Joint.getType":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joint_getType","description":"Gets a string representing the type.","returns":[{"name":"type","description":"A string with the name of the Joint type.","type":"JointType"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joint:getType","namespace":"love.physics.Joint","name":"getType"}},"love.graphics.ParticleSystem.hasRelativeRotation":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_hasRelativeRotation","description":"Gets whether particle angles and rotations are relative to their velocities. If enabled, particles are aligned to the angle of their velocities and rotate relative to that angle.","returns":[{"name":"enable","description":"True if relative particle rotation is enabled, false if it's disabled.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:hasRelativeRotation","namespace":"love.graphics.ParticleSystem","name":"hasRelativeRotation"}},"love.graphics.Mesh.detachAttribute":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_detachAttribute","arguments":[{"name":"name","description":"The name of the attached vertex attribute to detach.","type":"string"}],"description":"Removes a previously attached vertex attribute from this Mesh.","returns":[{"name":"success","description":"Whether the attribute was successfully detached.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:detachAttribute","namespace":"love.graphics.Mesh","name":"detachAttribute"}},"love.graphics.Video.getWidth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Video_getWidth","description":"Gets the width of the Video in pixels.","returns":[{"name":"width","description":"The width of the Video.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Video:getWidth","namespace":"love.graphics.Video","name":"getWidth"}},"love.physics.Contact.getFriction":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Contact_getFriction","description":"Get the friction between two shapes that are in contact.","returns":[{"name":"friction","description":"The friction of the contact.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Contact:getFriction","namespace":"love.physics.Contact","name":"getFriction"}},"love.physics.Body.setSleepingAllowed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setSleepingAllowed","arguments":[{"name":"allowed","description":"True if the body is allowed to sleep or false if not.","type":"boolean"}],"description":"Sets the sleeping behaviour of the body. Should sleeping be allowed, a body at rest will automatically sleep. A sleeping body is not simulated unless it collided with an awake body. Be wary that one can end up with a situation like a floating sleeping body if the floor was removed.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setSleepingAllowed","namespace":"love.physics.Body","name":"setSleepingAllowed"}},"love.graphics.Texture.getPixelWidth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_getPixelWidth","description":"Gets the width in pixels of the Texture.\n\nDPI scale factor, rather than pixels. Use getWidth for calculations related to drawing the texture (calculating an origin offset, for example), and getPixelWidth only when dealing specifically with pixels, for example when using Canvas:newImageData.","returns":[{"name":"pixelwidth","description":"The width of the Texture, in pixels.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:getPixelWidth","namespace":"love.graphics.Texture","name":"getPixelWidth"}},"love.physics.FrictionJoint.getMaxTorque":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#FrictionJoint_getMaxTorque","description":"Gets the maximum friction torque in Newton-meters.","returns":[{"name":"torque","description":"Maximum torque in Newton-meters.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/FrictionJoint:getMaxTorque","namespace":"love.physics.FrictionJoint","name":"getMaxTorque"}},"love.graphics.Video.tell":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Video_tell","description":"Gets the current playback position of the Video.","returns":[{"name":"seconds","description":"The time in seconds since the beginning of the Video.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Video:tell","namespace":"love.graphics.Video","name":"tell"}},"love.audio.Source.play":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_play","description":"Starts playing the Source.","returns":[{"name":"success","description":"Whether the Source was able to successfully start playing.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:play","namespace":"love.audio.Source","name":"play"}},"love.image.ImageData.encode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ImageData_encode","arguments":[{"name":"format","description":"The format to encode the image as.","type":"ImageFormat"},{"name":"filename","default":"nil","description":"The filename to write the file to. If nil, no file will be written but the FileData will still be returned.","type":"string"}],"description":"Encodes the ImageData and optionally writes it to the save directory.","returns":[{"name":"filedata","description":"The encoded image as a new FileData object.","type":"FileData"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ImageData:encode","namespace":"love.image.ImageData","name":"encode"}},"love.graphics.Texture.getDimensions":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_getDimensions","description":"Gets the width and height of the Texture.","returns":[{"name":"width","description":"The width of the Texture.","type":"number"},{"name":"height","description":"The height of the Texture.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:getDimensions","namespace":"love.graphics.Texture","name":"getDimensions"}},"love.physics.World.setSleepingAllowed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_setSleepingAllowed","arguments":[{"name":"allow","description":"True if bodies in the world are allowed to sleep, or false if not.","type":"boolean"}],"description":"Sets the sleep behaviour of the world.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:setSleepingAllowed","namespace":"love.physics.World","name":"setSleepingAllowed"}},"love.graphics.ParticleSystem.start":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_start","description":"Starts the particle emitter.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:start","namespace":"love.graphics.ParticleSystem","name":"start"}},"love.math.BezierCurve.getDegree":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#BezierCurve_getDegree","description":"Get degree of the Bézier curve. The degree is equal to number-of-control-points - 1.","returns":[{"name":"degree","description":"Degree of the Bézier curve.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/BezierCurve:getDegree","namespace":"love.math.BezierCurve","name":"getDegree"}},"love.physics.Body.getContacts":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getContacts","description":"Gets a list of all Contacts attached to the Body.","returns":[{"name":"contacts","description":"A list with all contacts associated with the Body.","type":"table"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getContacts","namespace":"love.physics.Body","name":"getContacts"}},"love.audio.Source.setEffect":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_setEffect","arguments":[{"name":"name","description":"The name of the effect previously set up with love.audio.setEffect.","type":"string"},{"name":"enable","default":"true","description":"If false and the given effect name was previously enabled on this Source, disables the effect.","type":"boolean"}],"description":"Applies an audio effect to the Source.\n\nThe effect must have been previously defined using love.audio.setEffect.","returns":[{"name":"success","description":"Whether the effect was successfully applied to this Source.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:setEffect","namespace":"love.audio.Source","name":"setEffect"}},"love.graphics.Texture.getFormat":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_getFormat","description":"Gets the pixel format of the Texture.","returns":[{"name":"format","description":"The pixel format the Texture was created with.","type":"PixelFormat"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:getFormat","namespace":"love.graphics.Texture","name":"getFormat"}},"love.physics.Contact.setFriction":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Contact_setFriction","arguments":[{"name":"friction","description":"The contact friction.","type":"number"}],"description":"Sets the contact friction.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Contact:setFriction","namespace":"love.physics.Contact","name":"setFriction"}},"love.filesystem.File.getMode":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#File_getMode","description":"Gets the FileMode the file has been opened with.","returns":[{"name":"mode","description":"The mode this file has been opened with.","type":"FileMode"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/File:getMode","namespace":"love.filesystem.File","name":"getMode"}},"love.graphics.Font.getLineHeight":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Font_getLineHeight","description":"Gets the line height.\n\nThis will be the value previously set by Font:setLineHeight, or 1.0 by default.","returns":[{"name":"height","description":"The current line height.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Font:getLineHeight","namespace":"love.graphics.Font","name":"getLineHeight"}},"love.physics.MouseJoint.setFrequency":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#MouseJoint_setFrequency","arguments":[{"name":"freq","description":"The new frequency in hertz.","type":"number"}],"description":"Sets a new frequency.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/MouseJoint:setFrequency","namespace":"love.physics.MouseJoint","name":"setFrequency"}},"love.joystick.Joystick.getGUID":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_getGUID","description":"Gets a stable GUID unique to the type of the physical joystick which does not change over time. For example, all Sony Dualshock 3 controllers in OS X have the same GUID. The value is platform-dependent.","returns":[{"name":"guid","description":"The Joystick type's OS-dependent unique identifier.","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:getGUID","namespace":"love.joystick.Joystick","name":"getGUID"}},"love.font.Rasterizer.getGlyphData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Rasterizer_getGlyphData","arguments":[{"name":"glyph","description":"Glyph","type":"string"}],"description":"Gets glyph data of a specified glyph.","returns":[{"name":"glyphData","description":"Glyph data","type":"GlyphData"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Rasterizer:getGlyphData","namespace":"love.font.Rasterizer","name":"getGlyphData"}},"love.font.GlyphData.getFormat":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#GlyphData_getFormat","description":"Gets glyph pixel format.","returns":[{"name":"format","description":"Glyph pixel format.","type":"PixelFormat"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/GlyphData:getFormat","namespace":"love.font.GlyphData","name":"getFormat"}},"love.physics.RevoluteJoint.getJointAngle":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RevoluteJoint_getJointAngle","description":"Get the current joint angle.","returns":[{"name":"angle","description":"The joint angle in radians.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RevoluteJoint:getJointAngle","namespace":"love.physics.RevoluteJoint","name":"getJointAngle"}},"love.audio.Source.getAttenuationDistances":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getAttenuationDistances","description":"Gets the reference and maximum attenuation distances of the Source. The values, combined with the current DistanceModel, affect how the Source's volume attenuates based on distance from the listener.","returns":[{"name":"ref","description":"The current reference attenuation distance. If the current DistanceModel is clamped, this is the minimum distance before the Source is no longer attenuated.","type":"number"},{"name":"max","description":"The current maximum attenuation distance.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getAttenuationDistances","namespace":"love.audio.Source","name":"getAttenuationDistances"}},"love.graphics.Texture.getPixelDimensions":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_getPixelDimensions","description":"Gets the width and height in pixels of the Texture.\n\nTexture:getDimensions gets the dimensions of the texture in units scaled by the texture's DPI scale factor, rather than pixels. Use getDimensions for calculations related to drawing the texture (calculating an origin offset, for example), and getPixelDimensions only when dealing specifically with pixels, for example when using Canvas:newImageData.","returns":[{"name":"pixelwidth","description":"The width of the Texture, in pixels.","type":"number"},{"name":"pixelheight","description":"The height of the Texture, in pixels.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:getPixelDimensions","namespace":"love.graphics.Texture","name":"getPixelDimensions"}},"love.joystick.Joystick.isDown":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_isDown","arguments":[{"name":"buttonN","description":"The index of a button to check.","type":"number"}],"description":"Checks if a button on the Joystick is pressed.\n\nLÖVE 0.9.0 had a bug which required the button indices passed to Joystick:isDown to be 0-based instead of 1-based, for example button 1 would be 0 for this function. It was fixed in 0.9.1.","returns":[{"name":"anyDown","description":"True if any supplied button is down, false if not.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:isDown","namespace":"love.joystick.Joystick","name":"isDown"}},"love.graphics.SpriteBatch.getCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SpriteBatch_getCount","description":"Gets the number of sprites currently in the SpriteBatch.","returns":[{"name":"count","description":"The number of sprites currently in the batch.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/SpriteBatch:getCount","namespace":"love.graphics.SpriteBatch","name":"getCount"}},"love.graphics.ParticleSystem.setLinearDamping":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setLinearDamping","arguments":[{"name":"min","description":"The minimum amount of linear damping applied to particles.","type":"number"},{"name":"max","default":"min","description":"The maximum amount of linear damping applied to particles.","type":"number"}],"description":"Sets the amount of linear damping (constant deceleration) for particles.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setLinearDamping","namespace":"love.graphics.ParticleSystem","name":"setLinearDamping"}},"love.graphics.Video.getHeight":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Video_getHeight","description":"Gets the height of the Video in pixels.","returns":[{"name":"height","description":"The height of the Video.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Video:getHeight","namespace":"love.graphics.Video","name":"getHeight"}},"love.font.Rasterizer.getDescent":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Rasterizer_getDescent","description":"Gets descent height.","returns":[{"name":"height","description":"Descent height.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Rasterizer:getDescent","namespace":"love.font.Rasterizer","name":"getDescent"}},"love.graphics.Mesh.isAttributeEnabled":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_isAttributeEnabled","arguments":[{"name":"name","description":"The name of the vertex attribute to be checked.","type":"string"}],"description":"Gets whether a specific vertex attribute in the Mesh is enabled. Vertex data from disabled attributes is not used when drawing the Mesh.","returns":[{"name":"enabled","description":"Whether the vertex attribute is used when drawing this Mesh.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:isAttributeEnabled","namespace":"love.graphics.Mesh","name":"isAttributeEnabled"}},"love.math.BezierCurve.getControlPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#BezierCurve_getControlPoint","arguments":[{"name":"i","description":"Index of the control point.","type":"number"}],"description":"Get coordinates of the i-th control point. Indices start with 1.","returns":[{"name":"x","description":"Position of the control point along the x axis.","type":"number"},{"name":"y","description":"Position of the control point along the y axis.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/BezierCurve:getControlPoint","namespace":"love.math.BezierCurve","name":"getControlPoint"}},"love.filesystem.FileData.getFilename":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#FileData_getFilename","description":"Gets the filename of the FileData.","returns":[{"name":"name","description":"The name of the file the FileData represents.","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/FileData:getFilename","namespace":"love.filesystem.FileData","name":"getFilename"}},"love.physics.PulleyJoint.setRatio":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PulleyJoint_setRatio","arguments":[{"name":"ratio","description":"The new pulley ratio of the joint.","type":"number"}],"description":"Set the pulley ratio.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/PulleyJoint:setRatio","namespace":"love.physics.PulleyJoint","name":"setRatio"}},"love.filesystem.File.read":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#File_read","arguments":[{"name":"bytes","default":"all","description":"The number of bytes to read.","type":"number"}],"description":"Read a number of bytes from a file.","returns":[{"name":"contents","description":"The contents of the read bytes.","type":"string"},{"name":"size","description":"How many bytes have been read.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/File:read","namespace":"love.filesystem.File","name":"read"}},"love.graphics.Shader.getWarnings":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Shader_getWarnings","description":"Returns any warning and error messages from compiling the shader code. This can be used for debugging your shaders if there's anything the graphics hardware doesn't like.","returns":[{"name":"warnings","description":"Warning and error messages (if any).","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Shader:getWarnings","namespace":"love.graphics.Shader","name":"getWarnings"}},"love.physics.World.destroy":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_destroy","description":"Destroys the world, taking all bodies, joints, fixtures and their shapes with it. \n\nAn error will occur if you attempt to use any of the destroyed objects after calling this function.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:destroy","namespace":"love.physics.World","name":"destroy"}},"love.graphics.Quad.getViewport":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Quad_getViewport","description":"Gets the current viewport of this Quad.","returns":[{"name":"x","description":"The top-left corner along the x-axis.","type":"number"},{"name":"y","description":"The top-left corner along the y-axis.","type":"number"},{"name":"w","description":"The width of the viewport.","type":"number"},{"name":"h","description":"The height of the viewport.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Quad:getViewport","namespace":"love.graphics.Quad","name":"getViewport"}},"love.graphics.ParticleSystem.setDirection":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setDirection","arguments":[{"name":"direction","description":"The direction of the particles (in radians).","type":"number"}],"description":"Sets the direction the particles will be emitted in.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setDirection","namespace":"love.graphics.ParticleSystem","name":"setDirection"}},"love.graphics.ParticleSystem.setColors":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setColors","arguments":[{"name":"r1","description":"First color, red component (0-1).","type":"number"},{"name":"g1","description":"First color, green component (0-1).","type":"number"},{"name":"b1","description":"First color, blue component (0-1).","type":"number"},{"name":"a1","description":"First color, alpha component (0-1).","type":"number"},{"name":"r2","description":"Second color, red component (0-1).","type":"number"},{"name":"g2","description":"Second color, green component (0-1).","type":"number"},{"name":"b2","description":"Second color, blue component (0-1).","type":"number"},{"name":"a2","description":"Second color, alpha component (0-1).","type":"number"},{"name":"r8","description":"Eighth color, red component (0-1).","type":"number"},{"name":"g8","description":"Eighth color, green component (0-1).","type":"number"},{"name":"b8","description":"Eighth color, blue component (0-1).","type":"number"},{"name":"a8","description":"Eighth color, alpha component (0-1).","type":"number"}],"description":"Sets a series of colors to apply to the particle sprite. The particle system will interpolate between each color evenly over the particle's lifetime.\n\nArguments can be passed in groups of four, representing the components of the desired RGBA value, or as tables of RGBA component values, with a default alpha value of 1 if only three values are given. At least one color must be specified. A maximum of eight may be used.\n\nIn versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setColors","namespace":"love.graphics.ParticleSystem","name":"setColors"}},"love.physics.Fixture.getBoundingBox":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_getBoundingBox","arguments":[{"name":"index","default":"1","description":"A bounding box of the fixture.","type":"number"}],"description":"Returns the points of the fixture bounding box. In case the fixture has multiple children a 1-based index can be specified. For example, a fixture will have multiple children with a chain shape.","returns":[{"name":"topLeftX","description":"The x position of the top-left point.","type":"number"},{"name":"topLeftY","description":"The y position of the top-left point.","type":"number"},{"name":"bottomRightX","description":"The x position of the bottom-right point.","type":"number"},{"name":"bottomRightY","description":"The y position of the bottom-right point.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:getBoundingBox","namespace":"love.physics.Fixture","name":"getBoundingBox"}},"love.audio.RecordingDevice.getChannelCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RecordingDevice_getChannelCount","description":"Gets the number of channels currently being recorded (mono or stereo).","returns":[{"name":"channels","description":"The number of channels being recorded (1 for mono, 2 for stereo).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RecordingDevice:getChannelCount","namespace":"love.audio.RecordingDevice","name":"getChannelCount"}},"love.physics.PulleyJoint.getRatio":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PulleyJoint_getRatio","description":"Get the pulley ratio.","returns":[{"name":"ratio","description":"The pulley ratio of the joint.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PulleyJoint:getRatio","namespace":"love.physics.PulleyJoint","name":"getRatio"}},"love.sound.SoundData.getChannelCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SoundData_getChannelCount","description":"Returns the number of channels in the SoundData.","returns":[{"name":"channels","description":"1 for mono, 2 for stereo.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/SoundData:getChannelCount","namespace":"love.sound.SoundData","name":"getChannelCount"}},"love.graphics.SpriteBatch.setColor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SpriteBatch_setColor","arguments":[{"name":"r","description":"The amount of red.","type":"number"},{"name":"g","description":"The amount of green.","type":"number"},{"name":"b","description":"The amount of blue.","type":"number"},{"name":"a","default":"1","description":"The amount of alpha.","type":"number"}],"description":"Sets the color that will be used for the next add and set operations. Calling the function without arguments will disable all per-sprite colors for the SpriteBatch.\n\nIn versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1.\n\nIn version 0.9.2 and older, the global color set with love.graphics.setColor will not work on the SpriteBatch if any of the sprites has its own color.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/SpriteBatch:setColor","namespace":"love.graphics.SpriteBatch","name":"setColor"}},"love.physics.Fixture.setFilterData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_setFilterData","arguments":[{"name":"categories","description":"The categories as an integer from 0 to 65535.","type":"number"},{"name":"mask","description":"The mask as an integer from 0 to 65535.","type":"number"},{"name":"group","description":"The group as an integer from -32768 to 32767.","type":"number"}],"description":"Sets the filter data of the fixture.\n\nGroups, categories, and mask can be used to define the collision behaviour of the fixture.\n\nIf two fixtures are in the same group they either always collide if the group is positive, or never collide if it's negative. If the group is zero or they do not match, then the contact filter checks if the fixtures select a category of the other fixture with their masks. The fixtures do not collide if that's not the case. If they do have each other's categories selected, the return value of the custom contact filter will be used. They always collide if none was set.\n\nThere can be up to 16 categories. Categories and masks are encoded as the bits of a 16-bit integer.\n\nWhen created, prior to calling this function, all fixtures have category set to 1, mask set to 65535 (all categories) and group set to 0.\n\nThis function allows setting all filter data for a fixture at once. To set only the categories, the mask or the group, you can use Fixture:setCategory, Fixture:setMask or Fixture:setGroupIndex respectively.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:setFilterData","namespace":"love.physics.Fixture","name":"setFilterData"}},"love.font.GlyphData.getGlyphString":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#GlyphData_getGlyphString","description":"Gets glyph string.","returns":[{"name":"glyph","description":"Glyph string.","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/GlyphData:getGlyphString","namespace":"love.font.GlyphData","name":"getGlyphString"}},"love.graphics.Video.getFilter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Video_getFilter","description":"Gets the scaling filters used when drawing the Video.","returns":[{"name":"min","description":"The filter mode used when scaling the Video down.","type":"FilterMode"},{"name":"mag","description":"The filter mode used when scaling the Video up.","type":"FilterMode"},{"name":"anisotropy","description":"Maximum amount of anisotropic filtering used.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Video:getFilter","namespace":"love.graphics.Video","name":"getFilter"}},"love.graphics.ParticleSystem.getEmissionRate":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getEmissionRate","description":"Gets the amount of particles emitted per second.","returns":[{"name":"rate","description":"The amount of particles per second.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getEmissionRate","namespace":"love.graphics.ParticleSystem","name":"getEmissionRate"}},"love.graphics.ParticleSystem.isActive":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_isActive","description":"Checks whether the particle system is actively emitting particles.","returns":[{"name":"active","description":"True if system is active, false otherwise.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:isActive","namespace":"love.graphics.ParticleSystem","name":"isActive"}},"love.graphics.ParticleSystem.setSpread":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setSpread","arguments":[{"name":"spread","description":"The amount of spread (radians).","type":"number"}],"description":"Sets the amount of spread for the system.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setSpread","namespace":"love.graphics.ParticleSystem","name":"setSpread"}},"love.audio.Source.setCone":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_setCone","arguments":[{"name":"innerAngle","description":"The inner angle from the Source's direction, in radians. The Source will play at normal volume if the listener is inside the cone defined by this angle.","type":"number"},{"name":"outerAngle","description":"The outer angle from the Source's direction, in radians. The Source will play at a volume between the normal and outer volumes, if the listener is in between the cones defined by the inner and outer angles.","type":"number"},{"name":"outerVolume","default":"0","description":"The Source's volume when the listener is outside both the inner and outer cone angles.","type":"number"}],"description":"Sets the Source's directional volume cones. Together with Source:setDirection, the cone angles allow for the Source's volume to vary depending on its direction.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:setCone","namespace":"love.audio.Source","name":"setCone"}},"love.audio.Source.getAirAbsorption":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getAirAbsorption","description":"Gets the amount of air absorption applied to the Source.\n\nBy default the value is set to 0 which means that air absorption effects are disabled. A value of 1 will apply high frequency attenuation to the Source at a rate of 0.05 dB per meter.","returns":[{"name":"amount","description":"The amount of air absorption applied to the Source.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getAirAbsorption","namespace":"love.audio.Source","name":"getAirAbsorption"}},"love.physics.Body.getLocalCenter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getLocalCenter","description":"Get the center of mass position in local coordinates.\n\nUse Body:getWorldCenter to get the center of mass in world coordinates.","returns":[{"name":"x","description":"The x coordinate of the center of mass.","type":"number"},{"name":"y","description":"The y coordinate of the center of mass.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getLocalCenter","namespace":"love.physics.Body","name":"getLocalCenter"}},"love.graphics.Canvas.newImageData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Canvas_newImageData","description":"Generates ImageData from the contents of the Canvas.","returns":[{"name":"data","description":"The new ImageData made from the Canvas' contents.","type":"ImageData"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Canvas:newImageData","namespace":"love.graphics.Canvas","name":"newImageData"}},"love.audio.Source.setRelative":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_setRelative","arguments":[{"name":"enable","default":"false","description":"True to make the position, velocity, direction and cone angles relative to the listener, false to make them absolute.","type":"boolean"}],"description":"Sets whether the Source's position, velocity, direction, and cone angles are relative to the listener, or absolute.\n\nBy default, all sources are absolute and therefore relative to the origin of love's coordinate system 0, 0. Only absolute sources are affected by the position of the listener. Please note that positional audio only works for mono (i.e. non-stereo) sources. ","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:setRelative","namespace":"love.audio.Source","name":"setRelative"}},"love.graphics.Font.getDPIScale":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Font_getDPIScale","description":"Gets the DPI scale factor of the Font.\n\nThe DPI scale factor represents relative pixel density. A DPI scale factor of 2 means the font's glyphs have twice the pixel density in each dimension (4 times as many pixels in the same area) compared to a font with a DPI scale factor of 1.\n\nThe font size of TrueType fonts is scaled internally by the font's specified DPI scale factor. By default, LÖVE uses the screen's DPI scale factor when creating TrueType fonts.","returns":[{"name":"dpiscale","description":"The DPI scale factor of the Font.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Font:getDPIScale","namespace":"love.graphics.Font","name":"getDPIScale"}},"love.joystick.Joystick.isVibrationSupported":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_isVibrationSupported","description":"Gets whether the Joystick supports vibration.","returns":[{"name":"supported","description":"True if rumble / force feedback vibration is supported on this Joystick, false if not.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:isVibrationSupported","namespace":"love.joystick.Joystick","name":"isVibrationSupported"}},"love.audio.RecordingDevice.getName":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RecordingDevice_getName","description":"Gets the name of the recording device.","returns":[{"name":"name","description":"The name of the device.","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RecordingDevice:getName","namespace":"love.audio.RecordingDevice","name":"getName"}},"love.image.ImageData.getDimensions":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ImageData_getDimensions","description":"Gets the width and height of the ImageData in pixels.","returns":[{"name":"width","description":"The width of the ImageData in pixels.","type":"number"},{"name":"height","description":"The height of the ImageData in pixels.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ImageData:getDimensions","namespace":"love.image.ImageData","name":"getDimensions"}},"love.physics.Fixture.getShape":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_getShape","description":"Returns the shape of the fixture. This shape is a reference to the actual data used in the simulation. It's possible to change its values between timesteps.","returns":[{"name":"shape","description":"The fixture's shape.","type":"Shape"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:getShape","namespace":"love.physics.Fixture","name":"getShape"}},"love.audio.Source.setDirection":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_setDirection","arguments":[{"name":"x","description":"The X part of the direction vector.","type":"number"},{"name":"y","description":"The Y part of the direction vector.","type":"number"},{"name":"z","description":"The Z part of the direction vector.","type":"number"}],"description":"Sets the direction vector of the Source. A zero vector makes the source non-directional.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:setDirection","namespace":"love.audio.Source","name":"setDirection"}},"love.audio.Source.setPitch":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_setPitch","arguments":[{"name":"pitch","description":"Calculated with regard to 1 being the base pitch. Each reduction by 50 percent equals a pitch shift of -12 semitones (one octave reduction). Each doubling equals a pitch shift of 12 semitones (one octave increase). Zero is not a legal value.","type":"number"}],"description":"Sets the pitch of the Source.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:setPitch","namespace":"love.audio.Source","name":"setPitch"}},"love.audio.Source.setAttenuationDistances":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_setAttenuationDistances","arguments":[{"name":"ref","description":"The new reference attenuation distance. If the current DistanceModel is clamped, this is the minimum attenuation distance.","type":"number"},{"name":"max","description":"The new maximum attenuation distance.","type":"number"}],"description":"Sets the reference and maximum attenuation distances of the Source. The parameters, combined with the current DistanceModel, affect how the Source's volume attenuates based on distance.\n\nDistance attenuation is only applicable to Sources based on mono (rather than stereo) audio.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:setAttenuationDistances","namespace":"love.audio.Source","name":"setAttenuationDistances"}},"love.graphics.Mesh.setVertex":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_setVertex","arguments":[{"name":"index","description":"The index of the the vertex you want to modify (one-based).","type":"number"},{"name":"attributecomponent","description":"The first component of the first vertex attribute in the specified vertex.","type":"number"},{"name":"...","description":"Additional components of all vertex attributes in the specified vertex.","type":"number"}],"description":"Sets the properties of a vertex in the Mesh.\n\nIn versions prior to 11.0, color and byte component values were within the range of 0 to 255 instead of 0 to 1.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:setVertex","namespace":"love.graphics.Mesh","name":"setVertex"}},"love.graphics.ParticleSystem.getQuads":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getQuads","description":"Gets the series of Quads used for the particle sprites.","returns":[{"name":"quads","description":"A table containing the Quads used.","type":"table"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getQuads","namespace":"love.graphics.ParticleSystem","name":"getQuads"}},"love.audio.Source.getVelocity":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getVelocity","description":"Gets the velocity of the Source.","returns":[{"name":"x","description":"The X part of the velocity vector.","type":"number"},{"name":"y","description":"The Y part of the velocity vector.","type":"number"},{"name":"z","description":"The Z part of the velocity vector.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getVelocity","namespace":"love.audio.Source","name":"getVelocity"}},"love.graphics.Image.replacePixels":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Image_replacePixels","arguments":[{"name":"data","description":"The new ImageData to replace the contents with.","type":"ImageData"},{"name":"slice","description":"Which cubemap face, array index, or volume layer to replace, if applicable.","type":"number"},{"name":"mipmap","default":"1","description":"The mimap level to replace, if the Image has mipmaps.","type":"number"},{"name":"x","default":"0","description":"The x-offset in pixels from the top-left of the image to replace. The given ImageData's width plus this value must not be greater than the pixel width of the Image's specified mipmap level.","type":"number"},{"name":"y","default":"0","description":"The y-offset in pixels from the top-left of the image to replace. The given ImageData's height plus this value must not be greater than the pixel height of the Image's specified mipmap level.","type":"number"},{"name":"reloadmipmaps","description":"Whether to generate new mipmaps after replacing the Image's pixels. True by default if the Image was created with automatically generated mipmaps, false by default otherwise.","type":"boolean"}],"description":"Replace the contents of an Image.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Image:replacePixels","namespace":"love.graphics.Image","name":"replacePixels"}},"love.joystick.Joystick.getID":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_getID","description":"Gets the joystick's unique identifier. The identifier will remain the same for the life of the game, even when the Joystick is disconnected and reconnected, but it '''will''' change when the game is re-launched.","returns":[{"name":"id","description":"The Joystick's unique identifier. Remains the same as long as the game is running.","type":"number"},{"name":"instanceid","description":"Unique instance identifier. Changes every time the Joystick is reconnected. nil if the Joystick is not connected.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:getID","namespace":"love.joystick.Joystick","name":"getID"}},"love.physics.FrictionJoint.getMaxForce":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#FrictionJoint_getMaxForce","description":"Gets the maximum friction force in Newtons.","returns":[{"name":"force","description":"Maximum force in Newtons.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/FrictionJoint:getMaxForce","namespace":"love.physics.FrictionJoint","name":"getMaxForce"}},"love.audio.Source.getRolloff":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_getRolloff","description":"Returns the rolloff factor of the source.","returns":[{"name":"rolloff","description":"The rolloff factor.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:getRolloff","namespace":"love.audio.Source","name":"getRolloff"}},"love.filesystem.File.setBuffer":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#File_setBuffer","arguments":[{"name":"mode","description":"The buffer mode to use.","type":"BufferMode"},{"name":"size","default":"0","description":"The maximum size in bytes of the file's buffer.","type":"number"}],"description":"Sets the buffer mode for a file opened for writing or appending. Files with buffering enabled will not write data to the disk until the buffer size limit is reached, depending on the buffer mode.\n\nFile:flush will force any buffered data to be written to the disk.","returns":[{"name":"success","description":"Whether the buffer mode was successfully set.","type":"boolean"},{"name":"errorstr","description":"The error string, if the buffer mode could not be set and an error occurred.","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/File:setBuffer","namespace":"love.filesystem.File","name":"setBuffer"}},"love.physics.Fixture.getRestitution":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_getRestitution","description":"Returns the restitution of the fixture.","returns":[{"name":"restitution","description":"The fixture restitution.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:getRestitution","namespace":"love.physics.Fixture","name":"getRestitution"}},"love.graphics.Font.getFilter":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Font_getFilter","description":"Gets the filter mode for a font.","returns":[{"name":"min","description":"Filter mode used when minifying the font.","type":"FilterMode"},{"name":"mag","description":"Filter mode used when magnifying the font.","type":"FilterMode"},{"name":"anisotropy","description":"Maximum amount of anisotropic filtering used.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Font:getFilter","namespace":"love.graphics.Font","name":"getFilter"}},"love.graphics.Mesh.getVertexMap":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_getVertexMap","description":"Gets the vertex map for the Mesh. The vertex map describes the order in which the vertices are used when the Mesh is drawn. The vertices, vertex map, and mesh draw mode work together to determine what exactly is displayed on the screen.\n\nIf no vertex map has been set previously via Mesh:setVertexMap, then this function will return nil in LÖVE 0.10.0+, or an empty table in 0.9.2 and older.","returns":[{"name":"map","description":"A table containing the list of vertex indices used when drawing.","type":"table"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:getVertexMap","namespace":"love.graphics.Mesh","name":"getVertexMap"}},"love.physics.Contact.setRestitution":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Contact_setRestitution","arguments":[{"name":"restitution","description":"The contact restitution.","type":"number"}],"description":"Sets the contact restitution.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Contact:setRestitution","namespace":"love.physics.Contact","name":"setRestitution"}},"love.graphics.ParticleSystem.getDirection":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getDirection","description":"Gets the direction of the particle emitter (in radians).","returns":[{"name":"direction","description":"The direction of the emitter (radians).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getDirection","namespace":"love.graphics.ParticleSystem","name":"getDirection"}},"love.graphics.Quad.setViewport":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Quad_setViewport","arguments":[{"name":"x","description":"The top-left corner along the x-axis.","type":"number"},{"name":"y","description":"The top-left corner along the y-axis.","type":"number"},{"name":"w","description":"The width of the viewport.","type":"number"},{"name":"h","description":"The height of the viewport.","type":"number"},{"name":"sw","description":"The reference width, the width of the Image. (Must be greater than 0.)","type":"number"},{"name":"sh","description":"The reference height, the height of the Image. (Must be greater than 0.)","type":"number"}],"description":"Sets the texture coordinates according to a viewport.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Quad:setViewport","namespace":"love.graphics.Quad","name":"setViewport"}},"love.physics.World.getCallbacks":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_getCallbacks","description":"Returns functions for the callbacks during the world update.","returns":[{"name":"beginContact","description":"Gets called when two fixtures begin to overlap.","type":"function"},{"name":"endContact","description":"Gets called when two fixtures cease to overlap.","type":"function"},{"name":"preSolve","description":"Gets called before a collision gets resolved.","type":"function"},{"name":"postSolve","description":"Gets called after the collision has been resolved.","type":"function"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:getCallbacks","namespace":"love.physics.World","name":"getCallbacks"}},"love.graphics.ParticleSystem.getColors":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getColors","description":"Gets the series of colors applied to the particle sprite.\n\nIn versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1.","returns":[{"name":"r1","description":"First color, red component (0-1).","type":"number"},{"name":"g1","description":"First color, green component (0-1).","type":"number"},{"name":"b1","description":"First color, blue component (0-1).","type":"number"},{"name":"a1","description":"First color, alpha component (0-1).","type":"number"},{"name":"r2","description":"Second color, red component (0-1).","type":"number"},{"name":"g2","description":"Second color, green component (0-1).","type":"number"},{"name":"b2","description":"Second color, blue component (0-1).","type":"number"},{"name":"a2","description":"Second color, alpha component (0-1).","type":"number"},{"name":"r8","description":"Eighth color, red component (0-1).","type":"number"},{"name":"g8","description":"Eighth color, green component (0-1).","type":"number"},{"name":"b8","description":"Eighth color, blue component (0-1).","type":"number"},{"name":"a8","description":"Eighth color, alpha component (0-1).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getColors","namespace":"love.graphics.ParticleSystem","name":"getColors"}},"love.audio.Source.stop":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_stop","description":"Stops a Source.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:stop","namespace":"love.audio.Source","name":"stop"}},"love.font.GlyphData.getWidth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#GlyphData_getWidth","description":"Gets glyph width.","returns":[{"name":"width","description":"Glyph width.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/GlyphData:getWidth","namespace":"love.font.GlyphData","name":"getWidth"}},"love.graphics.ParticleSystem.getRadialAcceleration":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_getRadialAcceleration","description":"Gets the radial acceleration (away from the emitter).","returns":[{"name":"min","description":"The minimum acceleration.","type":"number"},{"name":"max","description":"The maximum acceleration.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:getRadialAcceleration","namespace":"love.graphics.ParticleSystem","name":"getRadialAcceleration"}},"love.physics.PolygonShape.getPoints":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PolygonShape_getPoints","description":"Get the local coordinates of the polygon's vertices.\n\nThis function has a variable number of return values. It can be used in a nested fashion with love.graphics.polygon.","returns":[{"name":"x1","description":"The x-component of the first vertex.","type":"number"},{"name":"y1","description":"The y-component of the first vertex.","type":"number"},{"name":"x2","description":"The x-component of the second vertex.","type":"number"},{"name":"y2","description":"The y-component of the second vertex.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PolygonShape:getPoints","namespace":"love.physics.PolygonShape","name":"getPoints"}},"love.graphics.Text.getWidth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Text_getWidth","description":"Gets the width of the text in pixels.","returns":[{"name":"width","description":"The width of the text. If multiple sub-strings have been added with Text:add, the width of the last sub-string is returned.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Text:getWidth","namespace":"love.graphics.Text","name":"getWidth"}},"love.physics.World.getJoints":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_getJoints","description":"Returns a table with all joints.","returns":[{"name":"joints","description":"A sequence with all joints.","type":"table"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:getJoints","namespace":"love.physics.World","name":"getJoints"}},"love.graphics.Mesh.getVertexFormat":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Mesh_getVertexFormat","description":"Gets the vertex format that the Mesh was created with.","returns":[{"name":"format","table":[{"name":"attribute","description":"A table containing the attribute's name, it's data type, and the number of components in the attribute, in the form of {name, datatype, components}.","type":"table"},{"name":"...","description":"Additional vertex attributes in the Mesh.","type":"table"}],"description":"The vertex format of the Mesh, which is a table containing tables for each vertex attribute the Mesh was created with, in the form of {attribute, ...}.","type":"table"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Mesh:getVertexFormat","namespace":"love.graphics.Mesh","name":"getVertexFormat"}},"love.audio.Source.clone":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Source_clone","description":"Creates an identical copy of the Source in the stopped state.\n\nStatic Sources will use significantly less memory and take much less time to be created if Source:clone is used to create them instead of love.audio.newSource, so this method should be preferred when making multiple Sources which play the same sound.","returns":[{"name":"source","description":"The new identical copy of this Source.","type":"Source"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Source:clone","namespace":"love.audio.Source","name":"clone"}},"love.physics.MouseJoint.getMaxForce":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#MouseJoint_getMaxForce","description":"Gets the highest allowed force.","returns":[{"name":"f","description":"The max allowed force.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/MouseJoint:getMaxForce","namespace":"love.physics.MouseJoint","name":"getMaxForce"}},"love.graphics.ParticleSystem.setEmissionArea":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setEmissionArea","arguments":[{"name":"distribution","description":"The type of distribution for new particles.","type":"AreaSpreadDistribution"},{"name":"dx","description":"The maximum spawn distance from the emitter along the x-axis for uniform distribution, or the standard deviation along the x-axis for normal distribution.","type":"number"},{"name":"dy","description":"The maximum spawn distance from the emitter along the y-axis for uniform distribution, or the standard deviation along the y-axis for normal distribution.","type":"number"},{"name":"angle","default":"0","description":"The angle in radians of the emission area.","type":"number"},{"name":"directionRelativeToCenter","default":"false","description":"True if newly spawned particles will be oriented relative to the center of the emission area, false otherwise.","type":"boolean"}],"description":"Sets area-based spawn parameters for the particles. Newly created particles will spawn in an area around the emitter based on the parameters to this function.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setEmissionArea","namespace":"love.graphics.ParticleSystem","name":"setEmissionArea"}},"love.joystick.Joystick.getGamepadMappingString":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_getGamepadMappingString","description":"Gets the full gamepad mapping string of this Joystick, or nil if it's not recognized as a gamepad.\n\nThe mapping string contains binding information used to map the Joystick's buttons an axes to the standard gamepad layout, and can be used later with love.joystick.loadGamepadMappings.","returns":[{"name":"mappingstring","description":"A string containing the Joystick's gamepad mappings, or nil if the Joystick is not recognized as a gamepad.","type":"string"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:getGamepadMappingString","namespace":"love.joystick.Joystick","name":"getGamepadMappingString"}},"love.graphics.Font.setFallbacks":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Font_setFallbacks","arguments":[{"name":"fallbackfont1","description":"The first fallback Font to use.","type":"Font"},{"name":"...","description":"Additional fallback Fonts.","type":"Font"}],"description":"Sets the fallback fonts. When the Font doesn't contain a glyph, it will substitute the glyph from the next subsequent fallback Fonts. This is akin to setting a 'font stack' in Cascading Style Sheets (CSS).","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Font:setFallbacks","namespace":"love.graphics.Font","name":"setFallbacks"}},"love.graphics.Texture.getPixelHeight":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_getPixelHeight","description":"Gets the height in pixels of the Texture.\n\nDPI scale factor, rather than pixels. Use getHeight for calculations related to drawing the texture (calculating an origin offset, for example), and getPixelHeight only when dealing specifically with pixels, for example when using Canvas:newImageData.","returns":[{"name":"pixelheight","description":"The height of the Texture, in pixels.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:getPixelHeight","namespace":"love.graphics.Texture","name":"getPixelHeight"}},"love.physics.Body.getLinearVelocityFromWorldPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_getLinearVelocityFromWorldPoint","arguments":[{"name":"x","description":"The x position to measure velocity.","type":"number"},{"name":"y","description":"The y position to measure velocity.","type":"number"}],"description":"Get the linear velocity of a point on the body.\n\nThe linear velocity for a point on the body is the velocity of the body center of mass plus the velocity at that point from the body spinning.\n\nThe point on the body must given in world coordinates. Use Body:getLinearVelocityFromLocalPoint to specify this with local coordinates.","returns":[{"name":"vx","description":"The x component of velocity at point (x,y).","type":"number"},{"name":"vy","description":"The y component of velocity at point (x,y).","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:getLinearVelocityFromWorldPoint","namespace":"love.physics.Body","name":"getLinearVelocityFromWorldPoint"}},"love.graphics.ParticleSystem.setSpeed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_setSpeed","arguments":[{"name":"min","description":"The minimum linear speed of the particles.","type":"number"},{"name":"max","default":"min","description":"The maximum linear speed of the particles.","type":"number"}],"description":"Sets the speed of the particles.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:setSpeed","namespace":"love.graphics.ParticleSystem","name":"setSpeed"}},"love.math.Transform.clone":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Transform_clone","description":"Creates a new copy of this Transform.","returns":[{"name":"clone","description":"The copy of this Transform.","type":"Transform"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Transform:clone","namespace":"love.math.Transform","name":"clone"}},"love.audio.RecordingDevice.getData":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#RecordingDevice_getData","description":"Gets all recorded audio SoundData stored in the device's internal ring buffer.\n\nThe internal ring buffer is cleared when this function is called, so calling it again will only get audio recorded after the previous call. If the device's internal ring buffer completely fills up before getData is called, the oldest data that doesn't fit into the buffer will be lost.","returns":[{"name":"data","description":"The recorded audio data, or nil if the device isn't recording.","type":"SoundData"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/RecordingDevice:getData","namespace":"love.audio.RecordingDevice","name":"getData"}},"love.physics.Body.setActive":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_setActive","arguments":[{"name":"active","description":"If the body is active or not.","type":"boolean"}],"description":"Sets whether the body is active in the world.\n\nAn inactive body does not take part in the simulation. It will not move or cause any collisions.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:setActive","namespace":"love.physics.Body","name":"setActive"}},"love.physics.PrismaticJoint.getLimits":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#PrismaticJoint_getLimits","description":"Gets the joint limits.","returns":[{"name":"lower","description":"The lower limit, usually in meters.","type":"number"},{"name":"upper","description":"The upper limit, usually in meters.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/PrismaticJoint:getLimits","namespace":"love.physics.PrismaticJoint","name":"getLimits"}},"love.graphics.SpriteBatch.setTexture":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#SpriteBatch_setTexture","arguments":[{"name":"texture","description":"The new Image or Canvas to use for the sprites in the batch.","type":"Texture"}],"description":"Sets the texture (Image or Canvas) used for the sprites in the batch, when drawing.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/SpriteBatch:setTexture","namespace":"love.graphics.SpriteBatch","name":"setTexture"}},"love.physics.World.getContacts":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#World_getContacts","description":"Returns a table with all Contacts.","returns":[{"name":"contacts","description":"A sequence with all Contacts.","type":"table"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/World:getContacts","namespace":"love.physics.World","name":"getContacts"}},"love.thread.Channel.performAtomic":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Channel_performAtomic","arguments":[{"name":"func","description":"The function to call, the form of function(channel, arg1, arg2, ...) end. The Channel is passed as the first argument to the function when it is called.","type":"function"},{"name":"arg1","description":"Additional arguments that the given function will receive when it is called.","type":"any"},{"name":"...","description":"Additional arguments that the given function will receive when it is called.","type":"any"}],"description":"Executes the specified function atomically with respect to this Channel.\n\nCalling multiple methods in a row on the same Channel is often useful. However if multiple Threads are calling this Channel's methods at the same time, the different calls on each Thread might end up interleaved (e.g. one or more of the second thread's calls may happen in between the first thread's calls.)\n\nThis method avoids that issue by making sure the Thread calling the method has exclusive access to the Channel until the specified function has returned.","returns":[{"name":"ret1","description":"The first return value of the given function (if any.)","type":"any"},{"name":"...","description":"Any other return values.","type":"any"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Channel:performAtomic","namespace":"love.thread.Channel","name":"performAtomic"}},"love.graphics.ParticleSystem.clone":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ParticleSystem_clone","description":"Creates an identical copy of the ParticleSystem in the stopped state.","returns":[{"name":"particlesystem","description":"The new identical copy of this ParticleSystem.","type":"ParticleSystem"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/ParticleSystem:clone","namespace":"love.graphics.ParticleSystem","name":"clone"}},"love.graphics.Texture.getLayerCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_getLayerCount","description":"Gets the number of layers / slices in an Array Texture. Returns 1 for 2D, Cubemap, and Volume textures.","returns":[{"name":"layers","description":"The number of layers in the Array Texture.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:getLayerCount","namespace":"love.graphics.Texture","name":"getLayerCount"}},"love.math.Transform.inverseTransformPoint":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Transform_inverseTransformPoint","arguments":[{"name":"localX","description":"The x component of the position with the transform applied.","type":"number"},{"name":"localY","description":"The y component of the position with the transform applied.","type":"number"}],"description":"Applies the reverse of the Transform object's transformation to the given 2D position.\n\nThis effectively converts the given position from the local coordinate space of the Transform into global coordinates.\n\nOne use of this method can be to convert a screen-space mouse position into global world coordinates, if the given Transform has transformations applied that are used for a camera system in-game.","returns":[{"name":"globalX","description":"The x component of the position in global coordinates.","type":"number"},{"name":"globalY","description":"The y component of the position in global coordinates.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Transform:inverseTransformPoint","namespace":"love.math.Transform","name":"inverseTransformPoint"}},"love.math.Transform.getMatrix":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Transform_getMatrix","description":"Gets the internal 4x4 transformation matrix stored by this Transform. The matrix is returned in row-major order.","returns":[{"name":"e1_1","description":"The first column of the first row of the matrix.","type":"number"},{"name":"e1_2","description":"The second column of the first row of the matrix.","type":"number"},{"name":"...","description":"Additional matrix elements.","type":"number"},{"name":"e4_4","description":"The fourth column of the fourth row of the matrix.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Transform:getMatrix","namespace":"love.math.Transform","name":"getMatrix"}},"love.graphics.Texture.getWidth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_getWidth","description":"Gets the width of the Texture.","returns":[{"name":"width","description":"The width of the Texture.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:getWidth","namespace":"love.graphics.Texture","name":"getWidth"}},"love.graphics.Texture.isReadable":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_isReadable","description":"Gets whether the Texture can be drawn and sent to a Shader.\n\nCanvases created with stencil and/or depth PixelFormats are not readable by default, unless readable=true is specified in the settings table passed into love.graphics.newCanvas.\n\nNon-readable Canvases can still be rendered to.","returns":[{"name":"readable","description":"Whether the Texture is readable.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:isReadable","namespace":"love.graphics.Texture","name":"isReadable"}},"love.graphics.Texture.setWrap":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Texture_setWrap","arguments":[{"name":"horiz","description":"Horizontal wrapping mode of the texture.","type":"WrapMode"},{"name":"vert","default":"horiz","description":"Vertical wrapping mode of the texture.","type":"WrapMode"},{"name":"depth","default":"horiz","description":"Wrapping mode for the z-axis of a Volume texture.","type":"WrapMode"}],"description":"Sets the wrapping properties of a Texture.\n\nThis function sets the way a Texture is repeated when it is drawn with a Quad that is larger than the texture's extent, or when a custom Shader is used which uses texture coordinates outside of [0, 1]. A texture may be clamped or set to repeat in both horizontal and vertical directions.\n\nClamped textures appear only once (with the edges of the texture stretching to fill the extent of the Quad), whereas repeated ones repeat as many times as there is room in the Quad.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/Texture:setWrap","namespace":"love.graphics.Texture","name":"setWrap"}},"love.physics.Body.isDestroyed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Body_isDestroyed","description":"Gets whether the Body is destroyed. Destroyed bodies cannot be used.","returns":[{"name":"destroyed","description":"Whether the Body is destroyed.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Body:isDestroyed","namespace":"love.physics.Body","name":"isDestroyed"}},"love.image.ImageData.setPixel":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#ImageData_setPixel","arguments":[{"name":"x","description":"The position of the pixel on the x-axis.","type":"number"},{"name":"y","description":"The position of the pixel on the y-axis.","type":"number"},{"name":"r","description":"The red component (0-1).","type":"number"},{"name":"g","description":"The green component (0-1).","type":"number"},{"name":"b","description":"The blue component (0-1).","type":"number"},{"name":"a","description":"The alpha component (0-1).","type":"number"}],"description":"Sets the color of a pixel at a specific position in the image.\n\nValid x and y values start at 0 and go up to image width and height minus 1.\n\nIn versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1.","is_type_func":true,"wiki_link":"https://love2d.org/wiki/ImageData:setPixel","namespace":"love.image.ImageData","name":"setPixel"}},"love.image.CompressedImageData.getMipmapCount":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#CompressedImageData_getMipmapCount","description":"Gets the number of mipmap levels in the CompressedImageData. The base mipmap level (original image) is included in the count.","returns":[{"name":"mipmaps","description":"The number of mipmap levels stored in the CompressedImageData.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/CompressedImageData:getMipmapCount","namespace":"love.image.CompressedImageData","name":"getMipmapCount"}},"love.physics.Joint.isDestroyed":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joint_isDestroyed","description":"Gets whether the Joint is destroyed. Destroyed joints cannot be used.","returns":[{"name":"destroyed","description":"Whether the Joint is destroyed.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joint:isDestroyed","namespace":"love.physics.Joint","name":"isDestroyed"}},"love.graphics.Font.getWidth":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Font_getWidth","arguments":[{"name":"text","description":"A string.","type":"string"}],"description":"Determines the maximum width (accounting for newlines) taken by the given string.","returns":[{"name":"width","description":"The width of the text.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Font:getWidth","namespace":"love.graphics.Font","name":"getWidth"}},"love.physics.Fixture.isSensor":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Fixture_isSensor","description":"Returns whether the fixture is a sensor.","returns":[{"name":"sensor","description":"If the fixture is a sensor.","type":"boolean"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Fixture:isSensor","namespace":"love.physics.Fixture","name":"isSensor"}},"love.joystick.Joystick.getAxes":{"meta":{"prop_type":"function","api_link":"https://love2d-community.github.io/love-api/#Joystick_getAxes","description":"Gets the direction of each axis.","returns":[{"name":"axisDir1","description":"Direction of axis1.","type":"number"},{"name":"axisDir2","description":"Direction of axis2.","type":"number"},{"name":"axisDirN","description":"Direction of axisN.","type":"number"}],"is_type_func":true,"wiki_link":"https://love2d.org/wiki/Joystick:getAxes","namespace":"love.joystick.Joystick","name":"getAxes"}}}