Answer the question
In order to leave comments, you need to log in
How to handle clicks on SKShapeNode?
There is an SKShapeNode object, it is necessary to somehow handle the tap on this object. How should it be implemented?
I have an option to check the coordinates of Tapa and the node, but it turns out somehow too cumbersome.
Answer the question
In order to leave comments, you need to log in
А в чем сложность? Список inline. Стрелка делается через border или svg. С помощью css задаем каждому пункту background и цвет (border или svg).
Weird question. You seem to use such classes, but either you don’t know about the basics or you forgot about them.
override func touchesBegan(_ touches: Set, with event: UIEvent?)
To determine which node it is, look at the name property of your node.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question