How can I tell myFunction to wait untill createScene charge finish

Hello guys,

is there a function that wait until createScene finish then it works cuz I have a function with parameters are uploaded from createScene and I don’t want to call it inside createScene (not registerAfterRender because I want to call it one time)

Thank you


Hi Anes…

In “the big list of scene observables”, it is hiding in the first sentence BELOW the list. :slight_smile:

(That list is actually all the scene observations that happen EACH frame, and in THAT order/sequence.)

There is also scene.executeWhenReady option, but I think the observer method is more cool/modern.

1 Like