[Solved] Timer with javaScript

so i have been using gdevelop for about 4 months and i just started to code with javaScript in gdevelop.
but i was not able to understand how to create timer with javaScript so if there is a way to create object timers or scene timers in Javascript that will really help me thank you.

According to this file you should be able to get it with something like
myObject.timerElapsedTime("nameTimer",2)

https://github.com/4ian/GDevelop/blob/master/GDJS/Runtime/runtimeobject.js

2 Likes

thank you i tried it. its worked

1 Like