I'm having trouble animating a button, can someone help?
id: 751064
category: Help with Scripts
posts: 5
Mar 29, 2024 22:56:38
I'm having trouble animating a button, can someone help?
view on scratch
view on legacy ocular
Ecowley006
loading
I've been trying to make a button that gets bigger when I mouse over it.
The trouble is, the button seems to think I'm always mousing over it.
If it helps, I use turbowarp for the lag, dunno if it changes any code.
The trouble is, the button seems to think I'm always mousing over it.
If it helps, I use turbowarp for the lag, dunno if it changes any code.
when green flag clicked…(unrelated stuff for looks)
foreverI don't think there's anything else, but if you have ideas, I can show more code.
if <touching [mouse pointer]> then
go to x: (0) y: (1)
set size to 117 %
else
go to x: (0) y: (0)
set size to 100 %
end
end
Mar 29, 2024 23:10:14
I'm having trouble animating a button, can someone help?
view on scratch
view on legacy ocular
invalidaccess
loading
I've been trying to make a button that gets bigger when I mouse over it.https://scratch.mit.edu/projects/992075624/ check this out
The trouble is, the button seems to think I'm always mousing over it.
If it helps, I use turbowarp for the lag, dunno if it changes any code.when green flag clicked…(unrelated stuff for looks)foreverI don't think there's anything else, but if you have ideas, I can show more code.
if <touching [mouse pointer]> then
go to x: (0) y: (1)
set size to 117 %
else
go to x: (0) y: (0)
set size to 100 %
end
end
Mar 29, 2024 23:14:43
I'm having trouble animating a button, can someone help?
view on scratch
view on legacy ocular
Ecowley006
loading
Thank you, I'll try itI've been trying to make a button that gets bigger when I mouse over it.https://scratch.mit.edu/projects/992075624/ check this out
The trouble is, the button seems to think I'm always mousing over it.
If it helps, I use turbowarp for the lag, dunno if it changes any code.when green flag clicked…(unrelated stuff for looks)foreverI don't think there's anything else, but if you have ideas, I can show more code.
if <touching [mouse pointer]> then
go to x: (0) y: (1)
set size to 117 %
else
go to x: (0) y: (0)
set size to 100 %
end
end
Mar 29, 2024 23:33:52
I'm having trouble animating a button, can someone help?
view on scratch
view on legacy ocular
Ecowley006
loading
Thanks for the growing bit, but my trouble is that the button immediately starts growing when I start the project, not that the button won't grow.
Mar 30, 2024 01:14:42
I'm having trouble animating a button, can someone help?
view on scratch
view on legacy ocular
--Irrelevant
loading
Then you should make the button grow when the cursor is hovering over it.. maybe when you start the project your cursor is already hovering over the button?