L
Lofi
Guest
i'm trying to flip my sprite with this script
if keyboard_check(ord("A"))
then
{
image_xscale=-1;
}
else
{
image_xscale=1;
}
so when i hold A my sprite looks the other way but when i let go it stops, i want it to stay looking Left when i stop pressing A
if keyboard_check(ord("A"))
then
{
image_xscale=-1;
}
else
{
image_xscale=1;
}
so when i hold A my sprite looks the other way but when i let go it stops, i want it to stay looking Left when i stop pressing A