You fake it with math, C2 doesn't support real movement on the Z-axis What mainly happens when an object travels across the Z-axis is a change in size, and maybe (depending on the type of 3d projection) the ball gets displaced relative to the center of the screen.
If you want just the former, have a formula like
Ball Original Size* ((100-Z)/100)
With Z increasing as the ball goes further forward, making the ball get smaller as it approaches 100
To throw in the latter also
Ball original position relative to the center of the screen* (100/(100-Z))
Though I don't think this will be necessary in this case
To go completely overboard
Go here: en.wikipedia.org/wiki/3D_projection