Code/gml_Object_eng_button_Step_0.gml
2023-09-29 21:12:03 +02:00

16 lines
318 B
Plaintext

if place_meeting(x, y, hitbox_copy)
{
if (image_alpha < 1)
image_alpha += 0.05
if mouse_check_button_pressed(mb_left)
{
if (!instance_exists(out_to_next))
{
global.language = "en"
instance_create(x, y, out_to_next)
}
}
}
else
image_alpha = 0