Clickable function

sets the coordinates, size, hover, and source of a clickable object.