ball.fragment

Syntax

i = ball.fragment(b)
ball.fragment(b) = i

Get/set ball fragment ID. See the “Fragment” section for further details.

Returns:i - fragment ID
Accepts:i - fragment ID
Arguments:b - ball pointer