12345678910111213141516171819202122232425 |
- return {
- tag = 'worldProperties',
- summary = 'Get the step count of the World.',
- description = [[
- Returns the step count of the World. The step count influences how many steps are taken during
- a call to `World:update`. A higher number of steps will be slower, but more accurate. The
- default step count is 20.
- ]],
- arguments = {},
- returns = {
- steps = {
- type = 'number',
- description = 'The step count.'
- }
- },
- variants = {
- {
- arguments = {},
- returns = { 'steps' }
- }
- },
- related = {
- 'World:update'
- }
- }
|