Making an entity hover

hello i have seen manu times that can get anything to hover but im not
Where to start can somebody tell me what function you use ?

Why not look at some codes? There are drones out there on the workshop, so they’re free, means you can look into that.

Take a look at this code https://github.com/garrynewman/garrysmod/blob/master/garrysmod/gamemodes/sandbox/entities/entities/gmod_hoverball.lua . It’s the hoverball entity that’s shipped with the game. the function you should be interested in is ENT:PhysicsSimulate( phys, deltatime ) and line 44 where we tell the engine to call it.