Move group of buttons touch

Good evening!

How to move a group of buttons on the screen?

function group\_of\_buttons:touch(e) if (e.phase == "moved") then group\_of\_buttons.x = e.x group\_of\_buttons.y = e.y end end group\_of\_buttons:addEventListener("touch",group\_of\_buttons);

This code will work if in a group of 4 buttons for movement of characters in the game?

I want the user to knead the control buttons convenient place on the screen