E
Expy
Guest
Hello I'am a newbie in a world of programing and I have a question - Is there a easyer way to create a clickable button in gm ?
if (mouse_x > 432)
{
if (mouse_y > 243)
{
if (mouse_x < 592)
{
if (mouse_y < 333)
{
if (mouse_check_button_pressed (mb_left))
{
script_execute (scr_start);
}
}
}
}
}
if (mouse_x > 432)
{
if (mouse_y > 243)
{
if (mouse_x < 592)
{
if (mouse_y < 333)
{
if (mouse_check_button_pressed (mb_left))
{
script_execute (scr_start);
}
}
}
}
}