# Fun MouseMove script

## Recommended Posts

Here is a useless script I wrote that will make your mouse cursor look like it is flushing down the toilet.

```\$xr = 500
\$yr = 500
\$x = (@DesktopWidth / 2)
\$y = (@DesktopHeight / 2)
\$step = .2
\$Pi = 3.14159265358979
\$grow = "no"

While \$xr > 0 And \$xr < 525
For \$s = 0 To \$Pi * 2 Step \$step
\$xpos = \$x + \$xr * Cos(\$s)
\$ypos = \$y + \$yr * Sin(\$s)
MouseMove(\$xpos, \$ypos, 0)
Next

if \$grow = "no" Then
\$xr = \$xr - 20
\$yr = \$yr - 20
EndIf

if \$xr = 0 Then
\$grow = "yes"
EndIf

if \$grow = "yes" Then
\$xr = \$xr + 20
\$yr = \$yr + 20
EndIf
Wend```

##### Share on other sites

Here is a useless script I wrote that will make your mouse cursor look like it is flushing down the toilet.

```\$xr = 500
\$yr = 500
\$x = (@DesktopWidth / 2)
\$y = (@DesktopHeight / 2)
\$step = .2
\$Pi = 3.14159265358979
\$grow = "no"

While \$xr > 0 And \$xr < 525
For \$s = 0 To \$Pi * 2 Step \$step
\$xpos = \$x + \$xr * Cos(\$s)
\$ypos = \$y + \$yr * Sin(\$s)
MouseMove(\$xpos, \$ypos, 0)
Next

if \$grow = "no" Then
\$xr = \$xr - 20
\$yr = \$yr - 20
EndIf

if \$xr = 0 Then
\$grow = "yes"
EndIf

if \$grow = "yes" Then
\$xr = \$xr + 20
\$yr = \$yr + 20
EndIf
Wend```

<{POST_SNAPBACK}>

Hello Great for your first Script! Happy Coding! Edited by DirtyBanditos

##### Share on other sites

haha thats pretty neat, good job!

FootbaG

##### Share on other sites

You could make pi much more accurate by doing the numbers from the attached txt file

(not that you would need it with a step of .2)

pi.txt

Edited by killaz219

##### Share on other sites

LOL - how wonderfully pointless

You could make pi much more accurate by doing the numbers from the attached txt file...

<{POST_SNAPBACK}>

Wishes for an @PI...

## Create an account

Register a new account

• ### Recently Browsing   0 members

×

• Wiki

• Back

• #### Beta

• Git
• FAQ
• Our Picks
×
• Create New...