Follow Mouse & Scroll

By: grazer
4550 Plays

The Space Ship object will follow your mouse.

The Mouse Position block outputs the mouse's position in the game level. This means that when using a scrolling Camera, you'll need to account for camera's position to get the mouse's position on the screen.

This example demonstrates one way to do that.

Edit Game