gsap.set with xPercent. ReactJs not found this in GSAP Posted February 3, 2023 const pointer = useRef<HTMLDivElement>(null) gsap.set(pointer, {xPercent: -50, yPercent: -50}); I do everything according to the guides for the custom cursor. But I get this warning:Invalid property xPercent set to -50 Missing plugin? gsap.registerPlugin() Please help me)
gsap.set with xPercent. ReactJs not found this
in GSAP
Posted
I do everything according to the guides for the custom cursor. But I get this warning:
Invalid property xPercent set to -50 Missing plugin? gsap.registerPlugin()
Please help me)