UNPKG

@petkoneo/phaser3-rex-plugins

Version:
6 lines (5 loc) 185 B
var OnMotionStart = function (gameObject, group, no) { gameObject.emit(`motion.start-${group}`, no); gameObject.emit('motion.start', group, no); } export default OnMotionStart;