GameObject pathname and Load

Hi everybody.
I need to get the path of a static gameObject during runtime to load it when I click on it in order to get a new dynamic one.
I wanted to use AssetDatabase.getAssetPath() but it’s not working (void return).
I’ll after that use GameObject = Instantiate(Resources.Load(path)); which is working
could you help me please?

Resources.Load loads from any Resources folder in your project assets;

For instance

Assets/My Folder/Resources/MyFile.PNG

will be loaded through Resources.Load(“MyFile”);
where
Assets/My Folder/Resources/Images/MyFile.PNG

will be loaded through Resources.Load(“Images/MyFile”)