Onclick does not trigger on middle mouse click?

Question,

I see here that onClick is 'Fired when a mouse button is pressed'. I would assume that is also when the middle mouse button get's pressed. However, I don't get this to work, I simply do not see an event when I click with the middle mouse.

Did anyone manage to get this working?

Only works with onpointerup (or down).

It seems weird you want to catch this event though, what are you gonna do with it? xd

1 Like

Thanks!
On other websites it opens your navigation in a new tab when you click with middle mouse, so I wanted to reproduce that default behaviour.

1 Like