When using tween.mjs, the error “`getTweenManager` expects an instance of `AppBase`” appears

I’m sorry if this is a beginner’s question since I’m just starting to work with scripts.

I’m trying to implement a process where I place a 3D screen button component on a trigger collision, and when the player approaches, it grows larger via tweening, then shrinks and disappears when they move away. However, when this process executes, the error described in the title appears.

This is the project that extracts only that part : PlayCanvas | HTML5 Game Engine

If you wouldn’t mind, I’d be grateful if you could tell me a solution :slight_smile: