Table of Contents

mouse x

Description

The block holds (reports) the mouse-pointer’s current Mouse X.

Example

The example demonstrates how to use stamping and the mouse location sensing in Block coding.

Script

Output

Read More
In this example, we are making a rocket shoot bullets to the mouse pointer when the space key is pressed. 

In this example, we are making a rocket shoot bullets to the mouse pointer when the space key is pressed.

Rocket Script

Bullet Script

Output

Read More
All articles loaded
No more articles to load