Step 2 - Payment button

Create a payment button

Add a button child node under your Root Node ‘insertcoin’ (Node2D) by right clicking it and selecting ‘Add Child Node’. Use the search field to search for the ‘Button’ node type. Double click it and rename this Node “insertcoin”. Enter it’s value in the Text field property using the inspector tab on the right hand side panel. It is the first property at the top of the Inspector tab. Enter “insert coin(s)”. Look for the ‘Rect’ Control in the Inspector of the Button and expand it’s properties by clicking on the ‘v’ icon. Change the values For Size. Change x to 300 and y to 100 (300×100). Then change the values for Position. x 366 and y 418 (366×418).

Step 3