[SOLVED] How to use `app.root.findByPath`?

Hi, I just have a quick question
What is the layout for app.root.findByPath?

I tried starting like app.root.findByPath('/Game Screen/Score/Digit 2');
but this doesn’t seem to work. any help?

1 Like

Make sure you’re accessing the correct app. For example, this.app.root.

Isn’t it, this.app.root?

@DevPlex01 Yep, I’ve edited @codebon’s answer. :smile:

1 Like

Oh Okay. Thought I made a mistake there lol.