I’m trying to keep a button in place (the lower right corner) while moving a parallax background.
Any help would be appreciated.
local exitButton = widget.newButton { id = "exitButton", label = "Exit", shape="roundedRect", width = 50, height = 25, fillColor = { default={ 1, 0, 0, 1 }, over={ 1, 0.1, 0.7, 0.4 } }, onEvent = handleCityExitButtonEvent } exitButton.x = \_W\*.9 exitButton.y = \_H\*.96 newGroup:insert(exitButton)
