RafelSanso Posted June 12, 2017 Share Posted June 12, 2017 Hi community! I'm doing my first tests on Spine using Phaser. One of the things I would like to do is to convert one of the parts of the character into a button that executes a function when I click it.I can get the slot I want, and I can apply transformations: SlotPlay = spine.state.data.skeletonData.findSlot ('play'); SlotPlay.boneData.scaleX = 4; But if I try to add events to it, such as events.onInputOver.add, it does not recognize the events property.How could I convert one of the spine parts into a button?Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts