# BlockPlace

```lua
-- Fortify all blocks placed by players to Stone Brick
Events.BlockPlace(function(event)
    -- Only fortify player blocks
    if (not event.player) then
        return
    end
    -- Only replace wool blocks
    if not string.includes(event.blockType, "wool") then
        return
    end
    
    
    BlockService.placeBlock(ItemType.STONE_BRICK, event.position)
    SoundService.playSound(Sound.FORTIFY_BLOCK, event.position)
    event.cancelled = true
end)
```

### Parameters

#### player: [Player](https://docs.easy.gg/scripting/bedwars-scripting/objects/player) | nil

Player placing the block (if placed by a player).

#### position: [Vector3](https://create.roblox.com/docs/reference/engine/datatypes/Vector3)

Position in the world the block is being placed at.

#### blockType: [ItemType](https://docs.easy.gg/scripting/bedwars-scripting/types/itemtype)

The type of the block being placed

#### cancelled: bool <mark style="color:yellow;">\[modifiable]</mark>

If set to true, the block place will be denied.
