AVALANCHE: Check function scope in Animation, set a function private