8 Replies Latest reply on Nov 13, 2015 1:01 PM by Remy Konings

    resizing picture in center on click

    Remy Konings

      I have a logo with is placed in the middle of the stage and when I click on it, the logo should resize a x amount of pixels in the width and height. (see code below)

      sym.$("Logo").animate({"width":"120","height":"40"}, 400); 

      but i want this logo to resize and still stay centered. I feel like I need to add some code related to center alignment, but I don't know how.

      Thanks in advance.