Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | IAmOnFire |
[Solved trying to delete this post]
inputEvent is InnputEventMouseMotion eventMouseMotion
the Mouse’s relative variable is stored in eventMouseMotion not inputEvent
Hi All, I can’t seem to access the variable “Relative” in an InputEventMouseMotion
Things I’ve tried:
- Casting the inputEvent to InputEventMouseMotion
- inputEvent.GetType() returns “Godot.InputEventMouseMotion”
- inputEvent.GetType().GetFields() - returns an Empty array
- different iterations of “Relative” (relative, Relative, GetRelative())
Code: (I Could not figure out how to properly format my code)
Thanks,
(will keep searching) - currently trying to print out all variables and methods of the object.