Action:setTexture(texture, u, v, width, height, scale)
Action:setToggleTexture(texture, u, v, width, height, scale)
Action:setOnLeftClick(leftFunction)
Method Property | Fluent Description | Representation |
---|---|---|
leftFunction accepts | a function | |
Return Value | an Action |
Action:setOnToggle(leftFunction)
Method Property | Fluent Description | Representation |
---|---|---|
leftFunction accepts | a function | |
Return Value | an Action |
Action:setOnRightClick(rightFunction)
Method Property | Fluent Description | Representation |
---|---|---|
rightFunction accepts | a function | |
Return Value | an Action |
Action:setOnUntoggle(rightFunction)
Method Property | Fluent Description | Representation |
---|---|---|
rightFunction accepts | a function | |
Return Value | an Action |
Action:setHoverTexture(texture, u, v, width, height, scale)
Action:setOnScroll(scrollFunction)
Method Property | Fluent Description | Representation |
---|---|---|
scrollFunction accepts | a function | |
Return Value | an Action |
Action:texture(texture, u, v, width, height, scale)
Action:toggleTexture(texture, u, v, width, height, scale)
local myAction = myPage:newAction()
myAction:onLeftClick(function()
log("Heheh I got Left Clicked!")
end)
local myAction = myPage:newAction()
myAction:onRightClick(function()
log("Heheh I got Right Clicked!")
end)
Action:hoverTexture(texture, u, v, width, height, scale)