These are chat archives for pixijs/pixi.js

24th
Jan 2017
drainson
@licalcoms_twitter
Jan 24 2017 11:26
hi
why doesn't this work? renderer.plugins.interaction.onMouseDown = function() { console.log('asdf'); }
drainson
@licalcoms_twitter
Jan 24 2017 13:11
anyone here?
Dave Moore
@themoonrat
Jan 24 2017 17:40

It'd be

renderer.plugins.interaction.on( 'mousedown', function() { console.log('asdf'); } );

drainson
@licalcoms_twitter
Jan 24 2017 22:27
thanks!!
drainson
@licalcoms_twitter
Jan 24 2017 22:58
just curious: how was i supposed to know that? couldn't find that information anywhere
Has the list of events that interaction manager can emit
drainson
@licalcoms_twitter
Jan 24 2017 23:51
yeah i saw this list i just didn't know interaction had an "on" function and to pass these as string parameters