We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Turtle.get_Position
1 parent a845bda commit 03f6c63Copy full SHA for 03f6c63
Types/Turtle/get_Position.ps1
@@ -1,4 +1,4 @@
1
if (-not $this.'.Position') {
2
- $this | Add-Member -MemberType NoteProperty -Force -Name '.Position' -Value [pscustomobject]@{ X = 0; Y = 0 }
+ $this | Add-Member -MemberType NoteProperty -Force -Name '.Position' -Value ([pscustomobject]@{ X = 0; Y = 0 })
3
}
4
-return $this.'.Position'
+return $this.'.Position'
0 commit comments