const applySystem = await ApplySystem({
authority: provider.wallet.publicKey,
systemId: systemMovement.programId,
entities: [
{
entity: entityPda,
components: [{ componentId: positionComponent.programId }],
},
],
});
const signature = await provider.sendAndConfirm(applySystem.transaction);