---
name: BlockEvent
title: BlockEvent
subtitle: 
type: event
extends: Event
layout: module
properties:
  - name: block
    type: '[Block](/modules/Block)'
    access: r
    description: |
        This is the block this event is about.
  - name: pos
    type: '[Vec3](/modules/Vec3)'
    access: r
    description: |
        The block's position.
functions:
---

The <span class="notranslate">BlockEvent</span> is the base class of
[BlockBreakEvent](/modules/BlockBreakEvent/) and [BlockPlaceEvent](/modules/BlockPlaceEvent/).
