I’m still loking for the way to do this in C++ however I found the answer for blueprint method here: Dynamically set widget position on canvas panel?
I’ll post a picture of the blueprints nodes in case someone needs it, this nodes take the existing button (Button_165) and every time it’s clicked, move its own position to (x+100,y)