Skip to content

Commit d6ee9ae

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Turtle.Home() ( Fixes #104 )
1 parent c710cd4 commit d6ee9ae

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Turtle.types.ps1xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,15 @@ return $this.LSystem('A', [Ordered]@{
448448

449449
</Script>
450450
</ScriptMethod>
451+
<ScriptMethod>
452+
<Name>Home</Name>
453+
<Script>
454+
param()
455+
456+
return $this.Teleport(0,0)
457+
458+
</Script>
459+
</ScriptMethod>
451460
<ScriptMethod>
452461
<Name>Jump</Name>
453462
<Script>

0 commit comments

Comments
 (0)