Make an Object Move Off-Sceeen: By -Madi-


Hi, it's -Madi-!

I am going to give you a tutorial on how to make an object move off screen smoothly and not just stop at the edge. Let's start!

When you code a character to move forward, it stops at the edge of the screen and it doesn't move off, like this:

1) First, move a character onto the screen. I am using Star Girl.

2) Now, add a new rule for Star Girl:
When play button is tapped:(or whenever you want it to happen)
Repeat __ times (play around with this to get the right number)
Set position to
X: x + 4 (this is your speed, you can change it)
Y: Star Girl y

Now your character should smoothly move off the screen!

If you continue reading this tutorial, up you will learn how to make a character move off the screen diagonally!

All you need to do is change the y value to be:
Y + 4 (you can also change this to be a different number!)


If you change the X to:
X + -4
Your character will go the opposite direction. The same thing with Y!

I hope you learned somthing from this tutorial! :stuck_out_tongue:


Awesome tutorial! :D


Yeyz to ya tutorial!! I laik it!!


Great tutorial! Here's a like! :heart:


Hi -Madi-! People were waiting for you to come back to HS!

But awesome tutorial! :D


Nice tutorial senpai!


Awesome Tutorial



Great! Gonna add to Topic Portal :slight_smile:


Awesome topic (yet again :joy:)!!!

If I needed to do that I'd use this now lol. Otherwise I'd just use CoSine XD


nice topic, thats really useful


I love this topic!
I am going to code now!


Awesomeness tutorial! :D

Thanks, this'll rly help me :D