lets say i have a square button; it should zoom towards the mouse depending on where i enter the buttons hit area. i.e. i enter the square from the bottom right, it’d zoom 120% towards where i entered the square on the bottom right, and if i enter the hitarea topleft, it should zoom 120% towards that position.
how can i make that button ‘know’ where the mouse entered it and zoom towards that position?
or should it rather move towards that position while scaling?:puzzle:
thanks for your help,