Make sure you have the geometrie resourceIf necessary, see the Resources import webpage.
Open a new plain code frame and enter the following java code:
Visualize your own code by nesting different blocks with variable declarations, as the example below (leave the step-by-step mode before changing your code). Check the visibility of the variables in each block.