How to make a timed block

At the start of launch, how to make a timed block dissapear after 30 sec and show the time on screen

In the update function, there’s a parameter passed (normally dt) which is the time in secs that has passed since the last frame.

Keep track of that time over the frames and when it adds up to 30 secs, disable or destroy the entity.

Ok how to i show it on screeen

Use the PlayCanvas UI screen and text element. There’s a few pages in the manual about using the PlayCanvas UI system.

If the tutorials don’t clear things up for you, taking a peak at this little test project might help.

https://playcanvas.com/project/656392/overview/fbx-timing--status