Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do I make a floating button in the easiest way possible?
- ikuzduy
-
100+ posts
How do I make a floating button in the easiest way possible?
How do I make a floating button in the easiest way possible? (and smoothest)
Thanks
Thanks
- Mechanical_coding
-
44 posts
How do I make a floating button in the easiest way possible?
you said easiest way so…
make a sprite that has a button on it
then code this:
make a sprite that has a button on it
then code this:
- legendary34678
-
1000+ posts
How do I make a floating button in the easiest way possible?
By “floating” I assume you mean moving up and down smoothly. You can use the sine function for this. Not sure if you've learned about it in math yet, but simply, sine is a function that oscillates smoothly between -1 and 1 which you can use to create a bobbing effect.
- RadiusGames46
-
100+ posts
How do I make a floating button in the easiest way possible?
Alright.
Hope this helps!
- alisonw778
-
9 posts
How do I make a floating button in the easiest way possible?
Thanks! This really helped!
Follow from me.

- samululas
-
2 posts
How do I make a floating button in the easiest way possible?
Last edited by samululas (Nov. 17, 2023 15:15:02)
- Discussion Forums
- » Help with Scripts
-
» How do I make a floating button in the easiest way possible?