Move shape origin on sprite MatterJS

Hi,

I want to move the shape origin tu put it on the right place like here :
Screenshot 2020-07-16 at 15.10.14

Here’s my Codepen :

An idea ?
Thanks

I found :slight_smile:

image.setDisplayOrigin(image.width/2,image.height - (image.width/4))
image.y = image.y - (image.width/4)
1 Like