LuaAPI: better GetVisualGearValuesExample
authorWuzzy
Wed, 22 Aug 2018 00:08:27 +0100
changeset 1522 4f9e1a0d56d9
parent 1521 c48e03ba077c
child 1523 b67aa6e196de
LuaAPI: better GetVisualGearValuesExample
LuaAPI.wiki
--- a/LuaAPI.wiki	Wed Aug 22 00:06:58 2018 +0100
+++ b/LuaAPI.wiki	Wed Aug 22 00:08:27 2018 +0100
@@ -676,7 +676,8 @@
 
 Example:
 
-<code language="lua">    GetVisualGearValues(vgUid) -- return visual gear values
+<code language="lua">-- Return visual gear values
+local X, Y, dX, dY, Angle, Frame, FrameTicks, State, Timer, Tint = GetVisualGearValues(vgUid)
 </code>
 
 == Functions to modify gears ==