I have the code inside the draw function and it draws although its not drawing when I click T.
if keyboard_check(20)
{
return draw_text_color(16, 16, "Fly", c_red, c_red, c_red, c_red, c_red)
}
else
{
return draw_text_color(16, 16, "Fly", c_green, c_green, c_green, c_green, c_green)
}
It comes up "Fly" in green when I start the game and doesn't do anything when I click T, What have I done wrong?- Using GML Pro 8.0











