Add different functions to each side of SKSpriteNode box

Hi

I need a little help, please. It’s to do with SpriteKit. I have created a SKShapeNode (a box),

I would like to create functions that I can apply to each side of the box,

do you know this can be done? please.

I would like to apply a function to the right side of a box, a different one to the left, bottom and top.

Thanks

@aka77 Do you still have this issue?

This topic was automatically closed after 166 days. New replies are no longer allowed.