From 558ba65828d53fcff5575cc92eba22c511656cef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Adolfo=20Ram=C3=ADrez?= <38328365+DonLarry@users.noreply.github.com> Date: Tue, 12 Apr 2022 18:44:38 -0400 Subject: [PATCH] Fix typo in GDNative C++ example (#5761) --- tutorials/scripting/gdnative/gdnative_cpp_example.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/scripting/gdnative/gdnative_cpp_example.rst b/tutorials/scripting/gdnative/gdnative_cpp_example.rst index 430fe7ff3..de2be607b 100644 --- a/tutorials/scripting/gdnative/gdnative_cpp_example.rst +++ b/tutorials/scripting/gdnative/gdnative_cpp_example.rst @@ -256,7 +256,7 @@ it. However, we do not have to tell Godot about our constructor, destructor and The other method of note is our ``_process`` function, which keeps track of how much time has passed and calculates a new position for our sprite using a sine and cosine function. What stands out is calling -``owner->set_position`` to call one of the build in methods of our Sprite2D. This +``owner->set_position`` to call one of the built-in methods of our Sprite2D. This is because our class is a container class; ``owner`` points to the actual Sprite2D node our script relates to.