How do I get the component Id of a factory spawned component

I am trying to update a property of a model object spawned in a factory for my parallax backgrounds

msg.url("CombatScreen", Backgrounds.DATA.BACKGROUND_ID, "#BackgroundPlane")

I have the right collection, and the right ID path, but the software isn’t able to find the component #BackgroundPlane, for reference this is the object spawned by the factory


I do not understand why this does not work. I don’t know if there’s a way to check whether the component is labelled differently in the spawned instance. I’ve only been able to get it to print the Game Objects ID

Any advice on how to find the name of the spawned component? or how to spawn a model directly?

You don’t need the # symbol for the component variable - try “BackgroundPlane” only.

Thx