Sprite Mask Bug?

Hello i have a masking element to mask a sprite then a simple transform script to move the shine it works in the editor but when i launch it it does not work

@kdarius Having trouble reproducing this issue: https://playcanvas.com/editor/scene/941092

what if you have the element that is moving as sprite not texture

Still works as a sprite:

Is it browser specific maybe? Have you tried on mobile/other browsers?

Found the issue, if they are parented in the screen with an entity that doesn’t have an element the mask doesn’t work


Giving New Entity an element component with type Group fixes this issue

1 Like