Sets the x-coordinate of an object to a specified value. By default objects will be placed at x: 0 and x: 0, which is the center of your screen.

The value you write in the input field does not have to be fixed, you can also calculate it with the formula editor. You can use various mathematical functions such as 'Round', 'Pi' or 'Arctangent(-1,0)', or have random numbers calculated.

Set X Brick

Example

The object will change its position randomly every 0.5 seconds. The X-coordinate will range from -300 to 300.

Set X Example 1

Result

Download

Set X Result