First, I’m sorry for my poor english ! I try to use the command Canvas in Hype.
But canvas.offsetTop and canvas.offsetLeft is not registering the position of the canvas on the scene.
So, the position of mouse clicks on canvas isn’t correct (It may be ok if the browser window is small)
It seems that the position is not relative ?
I tried but it doesn’t work :’( It seems that the position selector doesn’t appear anymore.
Otherwise,I found a little solution with the functions of the Hype software but it is not really good because it’s necessary to use the absolute position :
First, I thank you for making me discover this feature
But, that does not solve my problem. The image is distorted and the position is not preserved.
I would like to use relative position so animation can be at the center of browser windows (with an image that keeps its proportions) and to know if it’s possible fix offset issue for mouse pointer on canvas. (Looks like the canvas coordinates are not calculated)