BindAction with GuiButton help

Hello, i am trying to make a bind action work with a Gui Button but i do not know the required code to access the gui button. i have code to access the mouse input and keycodes and it works just not for the gui button. If any one can give example code thanks.

//
local function onMouseInput(actionName, inputState)
if inputState == Enum.UserInputState.End then
ghostPart.Parent = ReplicatedStorage
RunService:UnbindFromRenderStep(PLOP_MODE)
ContextActionService:UnbindAction(PLOP_CLICK)
plopButton.Visible = true
if plopCFrame then
plopEvent:FireServer(plopCFrame)
end
end
end

local function onPlopButtonActivated ()
plopButton.Visible = false
RunService:BindToRenderStep(PLOP_MODE, Enum.RenderPriority.Camera.Value + 1, onRenderStepped)
ContextActionService:BindAction(PLOP_CLICK, onMouseInput, false, Enum.KeyCode.E, Enum.UserInputType.MouseButton1)
end
//