W3cubDocs

/LÖVE

ParticleSystem:getOffset

Available since LÖVE 0.9.0
It has been moved from ParticleSystem:getOffsetX and ParticleSystem:getOffsetY.

Gets the particle image's draw offset.

Function

Synopsis

ox, oy = ParticleSystem:getOffset( )

Arguments

None.

Returns

number ox
The x coordinate of the particle image's draw offset.
number oy
The y coordinate of the particle image's draw offset.

See Also

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/ParticleSystem:getOffset