Can I place buttons in X, Y position on top of the canvas?
For example, on the first screen of my game, I would like to place buttons for "Play Now", "Instructions", etc. right on top of the canvas.
Right now, I am looking at the Touch positions on the canvas and comparing them with the various borders of X, Y. It works, but adding a button with a click listener is likely to be much more efficient.
source
share