In SgneepBox we can declare a function with two different methods.
The first method consists of using the 'make_sub' and 'sub' functions within the main script. This method is not compatible with the GraphView mode of SgneepBox, so the graphic objects will not be displayed.
The second method is to use the control panel and create a new function, then a new script to all effects, compatible with GraphView.
Where possible, we always recommend using this method.