# Making FPS Module MmMMm!

So you might want to display FPS without clicking F3 right. Create a package called render and create a class called FPS and add the following code:

package com.demez.module.render;

import com.demez.module.Module;

public class FPS extends Module{
    public FPS(){ //Click CTRL+SHIFT+O to import all things
        super("FPS", Keyboard.KEY_L, Category.RENDER);
    }

    @Override
    public void onRender(){
        super.onRender();
        //Draw FPS if toggled
        if (this.isToggled){
            mc.fontRendererObj.drawString("FPS: " + mc.getDebugFPS(), 4, 4, -1);
        }
    }
}

Dont forget to register it! You know how.