19.6.3 radius

r = physics.CircleShape:radius()

Parameter

Type

Description

self

in physics.CircleShape

The input CircleShape

r

out number

The radius of the shape

Returns the radius of the shape.

Introduced in platform.apiLevel = '2.0'