Currently it is only possible to define the position of floating text or floating button using percentage or X, Y position. My suggestion is to add the possibility of using values stored in variables to determine the position of a button or floating text. Just like how it works in UI...