Here is the code - ``` player.Rotation(func(rotation float64){ // fmt.Printf(" player rotation: %v\n", rotation) }) ``` The error is `[LSP: Go compiler] player.Rotation undefined (type *mcwss.Player has no field or method Rotation)`
Here is the code -
The error is
[LSP: Go compiler] player.Rotation undefined (type *mcwss.Player has no field or method Rotation)