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?


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


Isn’t it,


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


Oh Okay. Thought I made a mistake there lol.