# Spawning a Pong Table

<figure><img src="/files/4tmvdkRVgGOpkYuK7ylp" alt=""><figcaption><p>Table Tennis objects declared in config.lua</p></figcaption></figure>

Table Tennis objects that's already spawned by other scripts/maps will be playable. If you want to spawn extra tables, you can do it in **config.lua**

```lua
Objects = {{
        pos = vector3(-1718.739502, -1109.655029, 12.152875),
        heading = 318.5,
        model = "prop_table_tennis"
    }, {
        pos = vector3(-1715.743652, -1112.305542, 12.152875),
        heading = 318.5,
        model = "prop_table_tennis"
    }, {
        pos = vector3(-1719.719360, -1116.799194, 12.152875),
        heading = 318.5,
        model = "prop_table_tennis"
    }, {
        pos = vector3(-1722.715210, -1114.148804, 12.152875),
        heading = 318.5,
        model = "prop_table_tennis"
    }, {
        pos = vector3(-1477.696, -954.5209, 9.20347),
        heading = 318.0 + 90.0,
        model = "prop_table_tennis"
    }, {
        pos = vector3(39.75943, 537.7939, 174.8531),
        heading = 110.0,
        model = "prop_table_tennis"
    }, {
        pos = vector3(-589.0319, 105.8244, 67.19884),
        heading = 0.0,
        model = "prop_table_tennis"
}},
```

### Table Models

You can use one of the color variations when spawning tables, in the config.

<div><figure><img src="/files/XkiHNF55eD6xGo3BI93W" alt=""><figcaption><p>prop_table_tennis</p></figcaption></figure> <figure><img src="/files/Nf2Zo2mI89nFQ5axfpxO" alt=""><figcaption><p>prop_table_tennis_b</p></figcaption></figure> <figure><img src="/files/qK1Oo48baav4DlkEOSja" alt=""><figcaption><p>prop_table_tennis_c</p></figcaption></figure> <figure><img src="/files/DcVxSSohwrWSjnqy1525" alt=""><figcaption><p>prop_table_tennis_d</p></figcaption></figure> <figure><img src="/files/musbBTR6bKLgd76JFmCA" alt=""><figcaption><p>prop_table_tennis_e</p></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.rcore.cz/paid-resources/rcore_pingpong/spawning-a-pong-table.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
