Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to make a love/fave detector
- Dakota_The_Coder
-
69 posts
How to make a love/fave detector
Please tell me if you know. I need it for a game I'm working on.
- Dakota_The_Coder
-
69 posts
How to make a love/fave detector
Do you still know? i used to know
- NoUsername-King
-
100+ posts
How to make a love/fave detector
To make a love/fav detector, you need to position a shape offscreen, overtop of the like or favorite button. Since you can't detect clicks offscreen, you have to just wait until the player has had there mouse over top of the button for a few frames, then do whatever you need to do if they like/fav. The overall code should look like this:
the liked position should be offscreen on the costume editor, where the like button would be if the costume stage outline was the stage on the project page.
- Dakota_The_Coder
-
69 posts
How to make a love/fave detector
Okay, I will try that. Thanks! To make a love/fav detector, you need to position a shape offscreen, overtop of the like or favorite button. Since you can't detect clicks offscreen, you have to just wait until the player has had there mouse over top of the button for a few frames, then do whatever you need to do if they like/fav. The overall code should look like this:the liked position should be offscreen on the costume editor, where the like button would be if the costume stage outline was the stage on the project page.
- googlebackward
-
8 posts
How to make a love/fave detector
Why don't you just add a like button and a favorite button in your game. Do the buttons in scratch matter at all?
- googlebackward
-
8 posts
How to make a love/fave detector
and just copy this for the favorite button
Last edited by googlebackward (March 18, 2025 14:55:03)
- googlebackward
-
8 posts
How to make a love/fave detector
Here is the game I got it from https://scratch.mit.edu/projects/1116431088/ I made this game
Last edited by googlebackward (March 18, 2025 00:09:00)
- Dakota_The_Coder
-
69 posts
How to make a love/fave detector
https://scratch.mit.edu/projects/1116431088/ I made this gameThe “mouse down” block only works inside the project window. Here is the game I got it from
- temsterriblegames
-
500+ posts
How to make a love/fave detector
you cant detect when someone actually likes/favourites, but the methods above are the closest you can get 

- googlebackward
-
8 posts
How to make a love/fave detector
And is that why you posted this at 5:00 a.m. My time?
- googlebackward
-
8 posts
How to make a love/fave detector
Also I meant why don't you just make your own button in your game instead of using the scratch buttons.
- googlebackward
-
8 posts
How to make a love/fave detector
this only works in the window so make the buttons in gameand just copy this for the favorite button
- googlebackward
-
8 posts
How to make a love/fave detector
Or maybe play my game and you'll figure out what I mean.
- Hapyprson
-
1 post
How to make a love/fave detector
This prevents Like then Unliking.
Last edited by Hapyprson (May 6, 2025 20:56:49)
- Discussion Forums
- » Help with Scripts
-
» How to make a love/fave detector