You first have to create the functions that will contain your code with the Interaction Editor (the "i" button). Add a "Run Script" action for "Player enter screen (before fadein)" for example and click the "Edit script..." button. You can't create the built-in functions yourself. The "{}" button is for quickly editing the code afterwards.
But you can set a walkable area's scaling directly in the room editor. Select your walkable area in the "Areas" section, check "Use continous scaling" and enter the appropriate values.
But you can set a walkable area's scaling directly in the room editor. Select your walkable area in the "Areas" section, check "Use continous scaling" and enter the appropriate values.