Hi, when i move it outside, it says that WEdge is undefined.
do i also need a declaration of the function at the top as it is a function?

thanks