ControlP5 method is getController(java.lang.String) returns ControlP5.Controller Example ControlP5 cp5=new Controller(this); cp5.addButton("hello_btn").setPosition(100,100); cp5.getController("hello_btn").setPosition(100,120);