UMG incorrectly positioning widgets

Hi, your answer looks cool. But I’m not sure how you got the variables Canvas X and Canvas Y. Where did you declare it and how you set its values?