ball.id

Syntax

i = ball.id(b)

Get the ball ID.

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