Multitouch HELP!

Hello,

I’m having trouble figuring out multitouch, I’ve been able to split the screen into two buttons and have the left side of the screen move the sprite left and the right side right, but I cant figure out how to get my sprite to jump when both buttons are pressed at the same time. I know how to make the sprite jump, but im not sure how to make Corona sense that both buttons have been pressed. I’ve tried everything within my knowledge to get it to work. Any HELP would be GREATLY appreciated!

Thank You [import]uid: 17138 topic_id: 12258 reply_id: 312258[/import]

first activate multitouch
http://developer.anscamobile.com/reference/index/systemactivate

then set a trigger to true, when a button is pressed.
(you’ll need a trigger for each button)

then check if both triggers set to true…

[code]

if trigger1 == true and trigger2 == true then
– do something
end

[/code] [import]uid: 70635 topic_id: 12258 reply_id: 44647[/import]

It works! Thank You very much! [import]uid: 17138 topic_id: 12258 reply_id: 44712[/import]