Help with static button while moving a parallax background

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)

Don’t insert the button in the same group as the moving background.  If you’re using Composer or it’s older sibling Storyboard, just put it in the scene’s group instead.

Rob

I see, thank you Rob Miracle! :slight_smile:

Don’t insert the button in the same group as the moving background.  If you’re using Composer or it’s older sibling Storyboard, just put it in the scene’s group instead.

Rob

I see, thank you Rob Miracle! :slight_smile: