Hi i just cant figure out the correct syntax for this, here is what i have:
function moveForward(event)
if hitDown == true then
myObject:applyAngularImpulse(15)
end
end
This works of course, what i want to do is
if hitdown == true & if speedUP == true then
myObject:applyAngularImpulse(15)
end
end
so i want it to check both variables before proceeding, can i get some help on the correct way to type it ? thanks [import]uid: 19620 topic_id: 6098 reply_id: 306098[/import]