Entity.SetBodyGroup not working

It says it exists on wiki: **[Entity.GetBodygroup

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Entity.GetBodygroup)**

I’ve tried using the function both clientside and serverside on entitys. I’ve also printed the _R.Entity thing and it does exist in there.

Printed the ents.GetAll() table: This one is the one i’m testing it on. Entity [94][prop_physics]

lua_run_cl Entity(94):GetBodyGroup()
lua_run Entity(94):GetBodyGroup()

Output: 1: attempt to call method ‘GetBodyGroup’ (a nil value)

Am I using it wrong?

Yeah it requires a body group number
GetBodyGroup(1)

Erm, forgot to mention i tried that too. Still says the function is nil.

It’s GetBodygroup, not GetBodyGroup.

Goddammit, thanks.