How does FabricJS prevent all objects from being selected?

as the title: there are many objects in my canvas, I want to disable all of them. Please tell me how to do it if you are familiar with it.

Mar.30,2021

canvas.selections=false// uncheck
object.set ('selectable',false) / / single element disables

Menu