Godot Version
4.6.2
Question
Whenever I drag a card in my game, the function “set_drag_preview()” throws an error, even when I’m using the example given in the documentation.
Here is the code inside of my Card class, followed by the errors given in the debugger
The same errors are reproduced when I use the commented out code, which is my actual game code. Neither example uses an asset that is in the scene tree.
Thanks for reading!

