Canon ball game create object question?


My question is about the canon ball game:


and this code:

Can you please explain to me what does it means:

MouseX(" ",0)

and the other one


Is spawn the name of a point?


MouseX() and MouseY() have been depreciated. The current expressions are CursorX() and CursorY()
The values inside the parentheses are optional (layer, camera number)

Yes, “spawn” would be a point on the cannon.

It seems like both values are optional.
Couldn’t we use just CursorX() ?

1 Like

You can just use CursorX() and CursorY()

1 Like