Hi,
the GetWorld() method can be inherited from AActor or UActorComponent,
so that’s why your class doesn’t know the GetWorld() method.
I would recommend reading this documentation page to understand how properties work, you could get the world member from the currently edited object, or try to get it another way:
Hope this helps.