# Custom Shadow Blocks for Class Properties?

**URL:** https://forum.makecode.com/t/custom-shadow-blocks-for-class-properties/34266
**Category:** Help
**Tags:** extension
**Created:** [March 4, 2025, 3:35am UTC](https://forum.makecode.com/t/custom-shadow-blocks-for-class-properties/34266 "2025-03-04T03:35:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ARandomGuyOnMakeCode](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/arandomguyonmakecode/32/22983_2.png) [@ARandomGuyOnMakeCode](https://forum.makecode.com/u/ARandomGuyOnMakeCode)
#### Post date: [March 4, 2025, 3:35am UTC](https://forum.makecode.com/t/custom-shadow-blocks-for-class-properties/34266/1 "2025-03-04T03:35:06Z")

</div>

I’m having this issue where when I make the property of a class a block and the type of the property isn’t one of the default ones, the shadow block area thing for the block is empty:  
 ![veccon](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/c/4/c45ed052b4f02411eade588b5e8efa2e17d12262.png)

```auto
//% blockNamespace=tweenExtension
class Vector2Container {
    //% group="Properties"
    //% blockCombine
    value: Vector2 // <- custom type

    constructor(_value: Vector2) {
        this.value = _value
    }
}

```

I was wondering if it was possible to make custom shadow blocks for the properties of classes like you can for normal exported functions to prevent this issue. Thanks.
