How to get pixel color under cursor?
I saw similar question as mine but those answers are in the gdscript when I programming in c#
I don't use the Mono version of Godot but I guess it would be just similar to GDScript. https://docs.godotengine.org/en/3.1/getting_started/scripting/c_sharp/c_sharp_differences.html#general-differences
So something like: (inside a node)
x,y should be retrievable from the mouse event.
If you intend to work with/change many pixels often then it might be advisable to use a screen shader. (Depends on your specific use case.)