Tile - Array - Remove At – Ylands
Jump to navigation
Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Remove At(Array, Index, Count) == File:Yland...") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
Line 33: | Line 33: | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 14:23, 24 November 2023
Remove At(Array, Index, Count)
splice(index: number, count: number): void;
Parameters
index
Index of first item to be removed
count
Number of items to be removed
Availability
Client, Server, Custom Controller
Description
Remove selected objects from an array.
Notes
- This instruction changes the length of the original array.
- Index numbers always start from 0, e.g: Array of length 3 has indexes 0, 1 and 2.