How can I load a assets by a relative path in the editor?

How can I load a assets by a relative path in the editor ?

In my editor , I have a folder named “Resources” , and there is a image in this folder .

How can I load the image by Path ? I tried app.assets.find() , but it does not work with the full path , just work with the filename. I need the full path to load assets .

Folders - are just abstraction for organizing work in Editor.

Best approach would be to use Tags. Add a tag to your asset, and find using tags.
Another in many cases better option is to use script attributes with asset type, and reference it directly instead of finding it using code.

thanks for you answer :slight_smile: