I found this a little puzzling, possibly someone can tell me why it does not work.

Code:


function touch_event()
{
if(event_type == event_touch)
{
if(mouse_right)
{
breakpoint;
}
}
}
action test_touch
{
my.enable_touch = on;
my.event = touch_event;
}



I do not understand why the breakpoint does not trip when I touch the entity, and right click the mouse at the same time, but it doesn't.

I assumed events were checked every frame, but I could be wrong.

Thanks for any help.

-raiden


"It doesn't matter if we win or lose, it's how we make the game."
--------------------
Links: 3DGS for Dummies