godot icon indicating copy to clipboard operation
godot copied to clipboard

input_pickable does not open the right documentation page for StaticBody2D

Open Sheepy3 opened this issue 5 months ago • 3 comments

Tested versions

  • Reproduced in 4.3.Stable

System information

Godot v4.3.stable (77dcf97d8) - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3090 (NVIDIA; 31.0.15.3623) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)

Issue description

when working with input_pickable, I attempted to check the documentation on the property for my StaticBody2D by ctrl+clicking on the property. This will bring you to the CollisionObject2D page which notes the default for input_pickable as true, which is correct for things like Area2D, but is not correct for nodes which inherit from PhysicsBody2D. This caused me some confusion before I realized that input_pickable was actually false. It would make more sense for input_pickable to open the PhysicsBody2D page for nodes which inherit PhysicsBody2D, or to add a note on the CollisionObject2D page regarding this override.

image image image

Steps to reproduce

  • add a staticbody2D node
  • attach a script
  • type input_pickable
  • ctrl+click on input_pickable
  • observe issue

Minimal reproduction project (MRP)

MRP.zip

Sheepy3 avatar Sep 02 '24 18:09 Sheepy3