How To Make A Timer Pause
TheDmanTravers
Member Posts: 22
Hi Im Making A Game Were You Hold Down For As Long As YOU CAN So Im Using A Timer And When I Let Go I Want The Timer To Stop
Comments
if so
gameAttribute real type named startTime
gameAttribute real type named endTime
on Actor to be held down
[Rule] when touch is pressed
--changeAttribute startTime = game.Time
[Rule] when touch is pressed
--changeAttribute endTime = game.Time
wherever you want to display the duration
Display Text [expression] game.endTime - game.startTime
MH