Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how to move a sprite outside the screen
- scratchy-boi1902
-
Scratcher
44 posts
how to move a sprite outside the screen
Hi all so i have a project were to levels need to scroll to fit together but i cant get the costume on the right to go fully off screen i know its possible i just dont know how - as always all help appreciated
link
https://scratch.mit.edu/projects/874664748/
link
https://scratch.mit.edu/projects/874664748/

- Spentinium
-
Scratcher
100+ posts
how to move a sprite outside the screen
To move a sprite off-screen, you must create an extremely large costume and switch to that costume whenever you want to move the sprite offscreen.
- scratchy-boi1902
-
Scratcher
44 posts
how to move a sprite outside the screen
how large? like just the normal canvas or as big as it gets
- Spentinium
-
Scratcher
100+ posts
how to move a sprite outside the screen
how large? like just the normal canvas or as big as it getsIt depends how far you want it to go out. I recommend 1000x1000 or around that size though.
- tester452
-
Scratcher
43 posts
how to move a sprite outside the screen
The easiest way to get a Sprite to be off a player's screen is by doing the following:
First, create another costume in your Sprite. Make this costume really small, like a 2x2 or 4x4 square. Now, add the following code:
You may adjust the size and the position of the Sprite.
Any Questions? Just ask!
Hope this helps!
First, create another costume in your Sprite. Make this costume really small, like a 2x2 or 4x4 square. Now, add the following code:
when green flag clicked
switch costume to [2x2 square v]
set size to (200) %
go to x: (465) y: (0)
switch costume to [WHATEVER COSTUME U WANT v]
You may adjust the size and the position of the Sprite.
Any Questions? Just ask!
Hope this helps!
- Discussion Forums
- » Help with Scripts
-
» how to move a sprite outside the screen


