Difference between revisions of "Body:getShape"

(Created page)
 
(No difference)

Latest revision as of 14:45, 13 April 2024

Available since LÖVE 12.0
This method is not supported in earlier versions.

Gets the first Shape attached to the Body.

Function

Synopsis

shape = Body:getShape( )

Arguments

None.

Returns

Shape shape
The first Shape attached to the Body.

See Also

Other Languages