This may be a bit late for you, but i had the same question the other day, and same issue with PopUp.nut. Found this code on the Discord server. image will appear when you press and hold a key, in this case up or down. i use it for next page arrows. Hopefully someone one day will see this post and have a use. Just a note, the pop up.nut works on AM, but in AM+ the image appears behind everything ( some Z order thing i dont understand)
local image_up = fe.add_image ("arrow_up.png", 490,1125,100,100);
local image_down = fe.add_image ("arrow_down.png", 490,1605,100,100);
image_up.visible = false;
image_down.visible = false;
fe.add_ticks_callback( "tick_up" );
fe.add_ticks_callback( "tick_down" );
function tick_up( ttime )
{
if (fe.get_input_state("Up")==true)
{
image_up.visible = true;
}
else if (fe.get_input_state("Up")== false)
{
image_up.visible = false;
}
return true;
return false;
}
function tick_down ( ttime )
{
if (fe.get_input_state("Down")==true)
{
image_down.visible = true;
}
else if (fe.get_input_state("Up")== false)
{
image_down.visible = false;
}
return true;
return false;
}