If I have a sprite and set it's X,Y coordinates , it's width and it's height to exactly that of a button, it still does not appear in the same space as the button. What am i doing wrong
Develop games in your browser. Powerful, performant & highly capable.
I guess this has to do with the origin point which needs to be the same. Needs to be set from the sprite editor
That's correct. Your origin point is going to the the x,y coordinate that your object is placed off of. There are a few things in construct that start with it in the top left such as text and buttons, which is confusing when you are trying to match them with sprites.