{{newin|[[0.8.0]]|080|type=method}}
Returns the group the fixture belongs to. Fixtures with the same group will always collide if the group is positive or never collide if it's negative. The group zero means no group.

The groups range from -32768 to 32767.

== Function ==
=== Synopsis ===
<source lang="lua">
group = Fixture:getGroupIndex( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|group|The group of the fixture.}}
== See Also ==
* [[parent::Fixture]]
* [[Fixture:setGroupIndex]]
[[Category:Functions]]
{{#set:Description=Returns the group the fixture belongs to.}}
{{#set:Since=080}}
== Other Languages ==
{{i18n|Fixture:getGroupIndex}}