affect true/false to a boolean when a want resize an ui obj with mouse