# MSPhysics script

**URL:** <https://forums.sketchup.com/t/msphysics-script/88050>\
**Category:** Extensions\
**Created:** [February 13, 2019, 10:07am UTC](https://forums.sketchup.com/t/msphysics-script/88050 "2019-02-13T10:07:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tecnozati](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@tecnozati](https://forums.sketchup.com/u/tecnozati)\
**Post date:** [February 13, 2019, 10:07am UTC](https://forums.sketchup.com/t/msphysics-script/88050/1 "2019-02-13T10:07:43Z")

</div>

Hello everyone, to see if a charitable soul can help me out.  
Using MSPhysics script I want to get:  
1 know the position of a servo union  
2 move the servo without using “get\_var ()” as controller

I wish to animate a mechanism with scripting, I would greatly appreciate code examples (I find it almost impossible to find them)  
Greetings and many thanks

---

<div class="post-metadata">

**Author:** ![Forestr](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/forestr/32/64230_2.png) [@Forestr](https://forums.sketchup.com/u/Forestr)\
**Post date:** [February 13, 2019, 2:29pm UTC](https://forums.sketchup.com/t/msphysics-script/88050/2 "2019-02-13T14:29:04Z")

</div>

Greetings,  
I found this in-depth tutorial on scripting in MSPhysics: [MSPhysics Plugin for SketchUp - Script & Sound | 25 of 26 - YouTube](https://youtu.be/Jz10O5R9x-M)

---

<div class="post-metadata">

**Author:** ![tecnozati](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@tecnozati](https://forums.sketchup.com/u/tecnozati)\
**Post date:** [February 13, 2019, 5:17pm UTC](https://forums.sketchup.com/t/msphysics-script/88050/3 "2019-02-13T17:17:20Z")

</div>

Thank you very much, I already know the tutorials of “TutorialsUp”, they are excellent, but I have not found an answer to my doubts.  
Greetings.
