Use runtime component's event

Hi,
I want to use Clock component's event when Clock.Timer in my extension but i don't want to show it as a event handler block in my extension, i just want to use it to trigger other event so can anybody tell me how can i do it?

You can use the TimerInternal class, which allows you to add timers to your component / extension:


See here an example with the Sprite class:


Note, you will need to implement the AlarmHandler interface in your class.

Havent you already opened a thread here?

2 Likes