Move the 2d camera has the player move

Hello, I am doing a “Mario game” and I want my 2d view to automatically move around to follow the player has he move. Please help me! Thanks! :grin:

please link to your project at
https://editor.p5js.org

so we can see how you do

  • the 2D view background
    draw background?, objects?, image? …

  • and the player move