Copy of Scripting Tutorial: Update Scripts
Move the point A and notice how the line thickness and point size changes. Scripting magic!
To see the script right-click the point A, select "Object Properties...", select the "Scripting Tab" and in the end the "OnUpdate" tab.