# Spawning a Pong Table

<figure><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-4fba80366cdf87b4ee90fe06ce9fa9d87ddbae9b%2Fpongplace.jpg?alt=media" 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="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-3b4a9bdb7ab49e0abd03490b2e75bf90033011b2%2Ftablegreen.jpg?alt=media" alt=""><figcaption><p>prop_table_tennis</p></figcaption></figure> <figure><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-146b85a5b0d76ceb2659998d2c2f65881d55b4c7%2Ftableblue.jpg?alt=media" alt=""><figcaption><p>prop_table_tennis_b</p></figcaption></figure> <figure><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-5d501baf6d314f9086590b912a943690b09cab00%2Ftablered.jpg?alt=media" alt=""><figcaption><p>prop_table_tennis_c</p></figcaption></figure> <figure><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-4d4f63ce2e05cb2cfe61db8d08aaf8261ea05a2a%2Ftableorange.jpg?alt=media" alt=""><figcaption><p>prop_table_tennis_d</p></figcaption></figure> <figure><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-56fda7d489c4dd2db242ceb0fc97e2c30260eb84%2Ftableblack.jpg?alt=media" alt=""><figcaption><p>prop_table_tennis_e</p></figcaption></figure></div>
