Hi I’m trying to get imageEntity of ButtonComponent as type pc.Entity, but unfortunately playcanvas returns me always a guid string. instead of Entity. According to the documentation, it should returns me pc.Entity. Could someone help me what i’m doing wrong? I have the same problem with “horizontalScrollbarEntity” and “verticalScrollbarEntity”
Playcanvas v1.57.0
[Entity] imageEntity
A reference to the entity to be used as the button background. The entity must have an ImageElement component.