bobZ()
Sets the bob order in which sprites are refreshed on screen by
sdlBasic. If z parameter is omitted, it returns the current bob z
position. Think about z position as the bob deep on screen. Bobs having
greater z position will be displayed behind those bobs having smaller
values.
Syntax:
variable
= bobZ(
bob
)
bobZ(
bob
,
z
)
z
may range from 0 to the maximum bob number (1024).
Example: